Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort grid elements without index?
Message
From
28/05/2005 11:45:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018360
Message ID:
01018363
Views:
13
>I have a grid whose recordsource is a dynamically created cursor (using 'create cursor'). Is there a way to reorder the grid column, by clicking on the header, without having an index? If not, any suggestions on the best way to accomplish this?

You don't have to have the index in advance. You can create the index as soon as you need it.

I think this should be easier than alternatives, like re-selecting from the cursor, into another cursor (or the same) - which will likely cause complications with the Grid losing its RecordSource.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform