Hi, I have two procedures(procedure1 and procedure2) with auto-drill enabled.I am including these procedures in another procedure(procedure3). Now when i execute procedure3 the code works fine but i am not getting the auto-drill.
Code Structure:
-SET &USER = &FOCSECUSER
IF &USER EQ 'USER1' THEN GOTO LABEL1 ELSE GOTO LABLEL2
:-LABEL1 -INCLUDE procedure1 -EXIT
:-LABEL2 -INCLUDE procedure2 -EXIT
Any ideas?
WF8205 windows 10This message has been edited. Last edited by: FP Mod Chuck,
March 21, 2019, 04:22 AM
Frans
The labels are not right:
-IF &FOCSECUSER.QUOTEDSTRING NE 'USER1' THEN GOTO :LABLEL2;
-:LABEL1
-INCLUDE procedure1
-EXIT
-:LABEL2
-INCLUDE procedure2
-EXIT