Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help in sorting a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00142206
Message ID:
00142215
Vues:
21
>I have a grid with a view as its datasource (buffering=5)
>
>There are uncommitted changes on more than one record.
>
>I do not want to do a tableupdate just yet.
>
>But, I do want to resort the grid because the key sort field has been changed.
>
>How can I resort the grid without doing a requery()?
>
>Thanks for any help.

Rick, you can't index the view with buffering = 5, so to have the index you need to switch buffering to 3, index the view, then swich buffering back to 5. And you need to do it BEFORE you make changes to the view data.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform