1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

How to iterate records which is stored in databases?

Discussão em 'StackOverflow' iniciado por fdantas, Dezembro 21, 2018.

  1. fdantas

    fdantas Administrator Moderador

    I need iterate the records and display the data. For example, This is the data stored in database :

    [​IMG]

    FOR EACH tt_shift NO-LOCK BY tt_shift.shft_start_hour BY tt_shift.shft_stop_hour:
    i = i + 1. END.


    As you know well i am iterating records and storing total count in i variable.If you see the picture which is attached in body, start and stop hour is stored in database.Now what i want is when its complete the first iteration it should show the first row of start and stop hour likewise need to show rest of all individually.Any helps are appreciated.

    Note-I need to use the same variables to show every start and end hour after one iteration completes.

    Continue reading...

Compartilhe esta Página