Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradapter & ADODB
Message
 
 
To
08/10/2003 13:44:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00833952
Message ID:
00836458
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform