Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Its too late for VFP 7 - but suggestions for VFP 8
Message
From
25/06/2001 06:22:37
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00522770
Message ID:
00522972
Views:
9
Jess as you stated LOCAL oObj AS ADODB.CONNECTION is only for intellisence
Try this
LOCAL oObj AS ADODB.CONNECTION
oObj = CREATEOBJECT("ADODB.CONNECTION")
oObj.OPEN("bbfsdsn","sa","")
oObj.CursorLocation = 2


>Craig,
>
>What am I missing here??
>
>In the INIT method of the form,
>
>LOCAL oObj AS ADODB.CONNECTION
>oObj.OPEN("bbfsdsn","sa","")
>oObj.CursorLocation = 2
>
>This one does not work at runtime although intellisense popups during development time and within init only. Meaning, oObj. has no more intellisense popup in other methods.
>
>oObj = CREATEOBJECT("ADODB.CONNECTION")
>oObj.OPEN("bbfsdsn","sa","")
>oObj.CursorLocation = 2
>
>This one works, but no intellisense available in any method.
>
>Please educate me.
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform