>>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])
I know. I decided to just use commands instead of calling thisform.oToolBar.cmdRestore.Click(), so I commented out that line and just put two lines of code instead.
I was tracing the orignal code and it has so much code, that my head hurts.
I'll test my changes in a sec.
If it's not broken, fix it until it is.
My Blog