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:
00161896
Views:
15
>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?
Hi Christopher

Have you tried to run a REQUERY() after the TABLEUPDATE()?
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Reply
Map
View

Click here to load this message in the networking platform