Hi DAW
could you add the uppercase option to the grid sort rules?
This can work in cCJGridSortHandler.pkg (at least it works for me):
Code:
Struct tGridSortColumnRules
Integer iColumn
Integer eDataType
Boolean bDescending
Boolean bUppercase
End_Struct
....
Function CompareGridSortData tGridSortData Data1 tGridSortData Data2 Returns Integer
.......
If (ColumnRules[i].eDataType=Ascii_Window or ColumnRules[i].eDataType=Mask_Window) Begin
Move Data1.sData[i] to sVal1
Move Data2.sData[i] to sVal2
If (ColumnRules[i].bUppercase) Begin
Move (Uppercase(sVal1)) to sVal1
Move (Uppercase(sVal2)) to sVal2
End
If (sVal1>sVal2) Begin
.......
best regards
Ivan