Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter Class & Fox Tables
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01461068
Message ID:
01461069
Views:
81
>I have a cursoradapter class (in a vcx file) that i use to access fox tables and i have a problem when inserting a new record. I try to explain my problem: i create my object, i browse data and i have no problems, i modify a record and i have no problem; i insert a new record, i compile the code field and i left the others field empty and when i move the pointer to another record (i have autoupdate enabled with record buffering) i receive a message error where i have to cancel or revert; if i select revert my new record is deleted; but now if i try to insert another new record i have no problems and the record and many other are correctly inserted.....It seems that i have to do a tablerevert to have the possibility to append new records.....The table where i work is attacched to a database container and for all fields i have a default value so i have not .null. values for fields not compiled...
>Someone have suggestions....or can tell me where is mt error....
>Thanks

Can you post your CA's code?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform