LOOKUP function is not working in progress 4GL

Discussão em 'StackOverflow' iniciado por fdantas, Maio 22, 2017.

  1. fdantas

    fdantas Administrator Moderador

    I tried the below code, which should return 123 in lv_id but returning '123/USER@PROSENJIT'.

    IF LOOKUP('PF', 'PF/123/USER@PROSENJIT', '/') > 0 THEN
    DO:
    ASSIGN
    lv_id = ENTRY(2,'PF/123/USER@PROSENJIT','/':U)

    END.


    Can anyone please let me what is the wrong here.

    Continue reading...

Compartilhe esta Página