General information
Category:
COM/DCOM and OLE Automation
Title:
Just a tip I wanted to share with you
Hi there folks, I just wanted to share this tip with you all. Hope you might find this useful. Regards
Let's say we wanna create an oledb (ADO) connection by invoking the connection property dialog. Here's the code to do that.
public oConn as adodb.connection
local oData as object
odata=createobject("datalinks")
oConn=oData.PromptNew() && We select our data source here
=oConn.Open()
There it is a valid ado connection without recalling any specific connection string.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only