Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetOrder not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00092325
Message ID:
00092719
Vues:
23
>>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

Yes

>
>In the Header's Click() event call the SetOrder routine with the name of the index:
>
>This.Parent.Parent.SetOrder()
>
>Regards,

The problem is that you have to pass a ControlSource parameter and not a tag name. The sintax is :

This.Parent.Parent.SetOrder()

Did you understand ?

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform