Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a record with buffering
Message
From
01/06/1999 12:30:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222588
Message ID:
00224983
Views:
31
>My form has a data environment with table buffering = 2. The data-entry textboxes in the form have tablename.fieldname as their ControlSource. To add a new record, my add button Click event has the following code: select the table, append blank and execute a tableupdate(.T.).
>
>The append blank works, but no data goes into the table. Can anyone please tell me what I'm missing? Thanks.

To add to what John and Sylvain said.

Test tableupdate() to make sure it completed properly. tableupdate() returns .T. if the update(s) are commited, and .F. if one or more fails.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform