Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ADO with foxpro front-end
Message
 
To
16/09/2002 21:41:59
Jordan Pastourel
Worksafe Management Systems
Toowong, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701058
Message ID:
00701301
Views:
18
In the Load, open the data set
ThisForm.oConn = createobject("ADODB.connection")
ThisForm.oRecordSet = CREATEOBJECT("ADODB.RecordSet")
		
WITH oRecordSet
  .ActiveConnection = oConnection
  .CursorType = adOpenStatic
  .LockType = iLockMode
  .CursorLocation = adUseClient
  .Open(tablename)
ENDWITH
Then in the ControlSource of the controls:
ThisForm.oRecordSet.Fields("fieldname").Value
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform