Jumat, 11 Agustus 2017

[MS_AccessPros] Passing a string from an API

 

I have the following code that opens Windows Datalink Dialog so you an set connection strings.


Private Sub cmdOpenDataLink_Click()
Dim cn As ADODB.Connection


Dim MSDASCObj As MSDASC.DataLinks
Set MSDASCObj = New MSDASC.DataLinks

Set cn = New ADODB.Connection
MSDASCObj.PromptEdit cn

cn.Open
MsgBox "Connection opened successfully"
cn.Close
End Sub


Is it possible after the user creates the connection to pass it from the DataLink dialog back to my form?


Thanks,


Art Lorenzini

Sioux Falls, SD



__._,_.___

Posted by: dbalorenzini@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar