Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help in sorting a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00142206
Message ID:
00142215
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform