>>>Hi everybody,
>>>
>>>I'm using CA and a grid. I have Save and Restore buttons on the form. The Restore button has this code
>>>
>>>thisform.oToolBar.cmdRestore.Click()
>>>
>>>It seems like it's only trying to restore one record. I want it to be able to restore all records, because I use buffering 5 for my CA.
>>>
>>>Is there a property I can use to get this functionality?
>>>
>>>Thanks a lot in advance.
>>
>>What is your TABLEREVERT() command?
>>If you use Optimized Table Buffering (5) you should use TABLEREVERT(.t.[, Alias])
>
>Well, it works nicely.
>
>However, I just discovered, that my changes are not saved when I press the save button, even though I see a message "Information saved".
>
>I'm again using thisform.oToolBar.cmdSave.Click()
Then you should trace :-)))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.