>>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,