Progress OpenEdge how to sort by length

Discussão em 'StackOverflow' iniciado por fdantas, Junho 8, 2016.

  1. fdantas

    fdantas Administrator Moderador

    newbie question here. How can I sort employee table by Firstname Desc then by lastName asc?

    Here is the code I have so far:

    output to /usr2/appsrv/test/Test.txt.
    def var dRow as char.
    for each emp by emp.FirstName no-lock:
    dRow = substitute ("&1,&2", emp.FirstName, emp.LastName).
    put unformatted dRow skip.
    end.
    put unformatted dRow skip.
    output close.


    I am on version 11.3.3

    Thank you

    Continue reading...

Compartilhe esta Página