Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetOrder not working
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00092325
Message ID:
00092372
Views:
19
>In Portuguese we have some accented words (like José). When I'm indexing my view, I use a function that changes all accented character with the unaccented one, so TiraAcento("José") returns "Jose". So my index is TiraAcento(Upper(nm_employee)), for example. What should I do to have my grid columns sortable ?
>

Check out the section in the Developer's Guide "Changing the Order of Records in a Grid".

If you have created a persistent index on the view in ADataEnv.prg

In the Header's Click() event call the SetOrder routine with the name of the index:

This.Parent.Parent.SetOrder()

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform