Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just a tip I wanted to share with you
Message
From
15/09/2002 09:56:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Just a tip I wanted to share with you
Miscellaneous
Thread ID:
00700597
Message ID:
00700597
Views:
61
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
Map
View

Click here to load this message in the networking platform