Detail problem 
Author Message
 Detail problem

Hi everyone,
We are using Informix version 7.2 4gl ver. 6
Que:How to go to the 5th row from the 3rd row conditionally.
i.e. Under some conditions to go to 5th row from 3rd row
Thanks in advance
Bhaskar.



Wed, 18 Jun 1902 08:00:00 GMT
 Detail problem


Quote:

>We are using Informix version 7.2 4gl ver. 6
>Que:How to go to the 5th row from the 3rd row conditionally.
>i.e. Under some conditions to go to 5th row from 3rd row

I assume you mean you have an INPUT ARRAY, and you want to be able to move
from row 5 to row 3?

It's not simple, but something like this might help:

-- set up your form with a blank, single character field at the end
-- of each line of the array. Set the NOENTRY attribute for the field

LET row_num = 1
LET exit_flag = FALSE

WHILE TRUE

  INPUT ARRAY ....
    AFTER FIELD xyz
      -- do your setting of the condition here
      LET row_num = some_function() -- or expression! :-)
      EXIT INPUT
    BEFORE ROW
      IF row_num > 1
      AND arr_curr() != row_num
      THEN
        NEXT FIELD blank_field
      ELSE
        LET row_num = 1
      END IF
     ON KEY (CONTROL-E) -- or whatever
       LET exit_flag = TRUE
    END INPUT

  IF exit_flag
  THEN
    EXIT WHILE
  END IF

END WHILE

Please note, I haven't done this for ages, so it might need some, uhm,
polishing... :-)

HTH.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Drill to detail problem

2. Drill to Detail Problem

3. Drill to Detail Problem

4. master detail problem

5. ---> URGENT ----- Order Detail PROBLEMS

6. Master-detail problem in QuickReport

7. Master-Detail problem

8. Master/Detail Problems

9. Access Violation with TQuery as both Master/Detail: problem resolved

10. master-detail problem

11. HELP! Master/Detail Problem

12. Master-Detail problem


 
Powered by phpBB® Forum Software