Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO, COM, and VFP6
Message
From
08/04/1999 09:44:59
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00206240
Message ID:
00206401
Views:
19
I did set up a DSN but it's not set for exclusive. Below is my connection string in the vb com object and how I call it in VFP. I've tried FileDSN's, User,System, and making a connection without using an ODBC data source. This code will work if all tables are closed but ofcourse I need the tables open for my various form controls.



cn.Open "FileDSN=D:\foxproado\vfpapp\fp.dsn;UID=;PWD=;Exclusive=No;OLE DB Services=-2"

rs.CursorLocation = adUseClient

rs.Open "update getrequirements set frag='test'", cn, adOpenKeyset, adLockBatchOptimistic



SET EXCLUSIVE OFF
thisform.olecontrol1.submit("GETREQUIREMENTS 98040 1")
Previous
Reply
Map
View

Click here to load this message in the networking platform