Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restore all records, not just the current
Message
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01412772
Message ID:
01412789
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform