Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradapter & ADODB
Message
 
 
À
08/10/2003 13:44:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00833952
Message ID:
00836458
Vues:
24
Ok, i have a cursor adapter working with a vfp table via ADO (inserting & updating), however, these are a few things I have found.

1. If using a view parameter, the view parameter MUST be created before you call cursorfill, otherwise, Cursorfill will return .f. with the following message "Index does not accept null". Even if your doing nodata CursorFill(.t.,.T.). This dosn't happen if using ODBC.

2. Updates/Inserts/Deletes can only be done by having the INSERTCMD, UPDATECMD or the DELETECMD populated. If you let the CA auto populate it, it doesn't do it. In fact, it does not fill in the cInsertUpdateCmd in BeforeUpdate fuction of the CA.



Mark, I am still having problems with the CA's build from your builder with ADO. I must be missing something, but I am looking into it.

Thanks again
Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform