Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a recordset
Message
De
05/10/2000 05:56:15
 
 
À
05/10/2000 03:26:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00425175
Message ID:
00425188
Vues:
26
Hi Benn

"oConn.Close" is creating the problem. If you close the connection, the recordset which is bounded by "oRecordset.ActiveConnection = oConn" also closed.

You can also open the connection in recordset itself like :

oRecordset.Open("SELECT * FROM Freetime","DRIVER=Microsoft Visual FoxPro Driver;" + ;
"SourceType=DBC;SourceDB=D:\DATA\VFP_60\OLE\ADO.DBC;" + ;
"Exclusive=NO;BackGroundFetch=NO;NULL=NO;Collate=MACHINE")

HTH
- Ram.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform