SetCurrentKey

aman_mbs
aman_mbs Member Posts: 158
Dear All,

I want to sort my data in descending order, while using SetCurrentKey How will we do soo...
Aman Kumar Gupta

Comments

  • Albertvh
    Albertvh Member Posts: 516
    Hi

    From help
    ASCENDING (Record)
    Use this function to change or check the order in which the system will search through a C/SIDE table.

    [IsAscending] := Record.ASCENDING([SetAscending])
    IsAscending

    Data type: boolean

    This return value tells you the order in which a search will be made.

    If IsAscending is...
    It means the system will search in...

    TRUE Ascending order
    FALSE Descending order

    SetAscending

    Data type: boolean

    Determines the order of the search.

    To...
    Enter...

    Search in ascending order TRUE
    Search in descending order FALSE
    Check the search order leave blank



    Albert