Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force ADO Fields Updatable
Message
De
29/09/2000 15:31:52
 
 
À
29/09/2000 14:52:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00422801
Message ID:
00422844
Vues:
16
>When an ADO client-side recordset is created including fields that are keys on the backend, ADO coerces the key fields in the client-side cursor to be not updatable. How can a client-side ADO recordset of this type be created in which all fields, including key fields, are updatable?
>
>Thnaks,
>Bill

You can create the disconnected recordset on the client side with the same structure and send that to the back-end. Now this would not play if you're doing updates via UpdateBatch.
oHeadRS = CreateObject("ADODB.Recordset")
With oHeadRS.Fields
	.Append("FileName", adChar, 15)
	.Append("SalesOrder", adChar, 10)
	.Append("DateReceived", adChar, 20)
EndWith
oHeadRS.Open
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform