Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ADO with foxpro front-end
Message
 
À
16/09/2002 21:41:59
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00701058
Message ID:
00701301
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform