Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore all records, not just the current
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01412772
Message ID:
01412785
Vues:
34
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform