Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort on Form Init
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01366984
Message ID:
01366986
Views:
9
>Is there a simple way to sort a table when opening a form? I would like to sort the form alphabetically with a field index when opening this particular form. The form allows you to parse through the entire table with back and forward buttons, but it is sorted based on the order in the table instead of alphabetically.

Didi you have index based on that field?
If you have just set it in form Init Event:
SET ORDER TO NameOfTheTAG

or if you have that table in the form DataEnvironment set its ORDER property there.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform