Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery, Index and Transaction
Message
 
 
À
20/02/2002 06:37:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00622396
Message ID:
00622443
Vues:
39
Hi!

Just call the grid property setting by SetAll as in the sample in the article, and SortGrid will clear non structural indexes for you. Just Grid.SetAll("lEventSwitchOffSorting",.T.) before BEGIN TRANSACTION. To restore the sorting as it was before transaction, use Grid.SetAll("lEventSwitchOffSorting",.F.). This is predicted in a SortGrid, so SortGrid will do all this for you by a single command. Let me know if this works.

>>Hi!
>>
>>If you read the comment for SortGrid download - it says "This is a sample for article VFP Grids Part III in the Universal Thread magazine, October 2001." The explanation of all issues and problems are in that article. The problem with transactions you mentioned is also included in that article with workaround. You can use that article as a documentation for SortGrid class - it explains also how it works in depth.
>>
>>HTH.
>
>Vlad,
>for my foolish brain.
>
>How to determine which index is non structural? So I can clear it?
>
>Agnes
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform