Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEUPDATE deletes view record
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00161359
Message ID:
00162040
Views:
23
Christopher,

1. Are you checking the return value of Tableupdate()? If it is FALSE, there may be a problem with a record being locked or a network busy.

2. If you're using VFP5, check the parameters for TableUpdate(). You may wish to use a numeric value instead of TRUE in the first parameter.

3. Are you using row or table buffering? If row buffering then one row may not be updated (again, check the values for your first parameter).

HTH
Barbara



>I have form with, buffering set to 2, that contains a read only grid with an updateable view as the record source and record source type set to alias .
>When a command button is pressed, a record is inserted into the view and a sub-editing screen is called. In the second form textboxes and combos are bound to the view and used to get user input.
>A command button is then used to either TABLEUPDATE or TABLEREVERT.
>Intermittently, issuing a TABLEUPDATE(.T.,.T.,”lv_details”) causes the view new record to become deleted in the view.
>
>Any ideas?
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform