Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing local view order in grid
Message
 
 
To
13/04/2008 13:02:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01310252
Message ID:
01310254
Views:
19
>I’m using a local view that is populated from multiple tables as the RecordSource for a 3 column grid. It’s working fine, but I want to allow the user to change the ORDER presented dynamically by clicking on the respective grid header.
>
>I have coded the SQL's ORDER clause by setting it as a ?parameter. I change the parameter, do a requery(), and then a refresh() all in the header click method. I'm bumping into pop-up messages asking what value I want for my parameter.
>
>What general approach should I be using?
>Bob

I would recommend a sortable grid. For example, Re: Adding code to event Thread #1276895 Message #1276900
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform