|
-
May 9th, 2007, 06:53 AM
#1
Thread Starter
Fanatic Member
Creating new datalinks - No place to put datalink filename [Solved]
Hey guys, I found it's pretty simple to create new datalinks dynamically at runtime.
Code:
Dim dl As New Datalinks
dl.PromptNew
I know what's causing my problem, I just don't have a solution. That code brings up a datalink creation menu. I make it use the Jet 4.0 database, link it to my mdb file, but I can't give it a filename, hence the file doesn't appear in the folder, and as a result, of course, I can't define the ConnectionString in my ADO data control because I can't give the new datalink a name.
Anyone know how to solve this problem? Is this by design, and if so, how does the ADO data control know how to define the ConnectionString?
Last edited by hothead; May 9th, 2007 at 08:02 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|