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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement