>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)"