This has to be an easy one!
What's wrong with the following IF statement:
-------------------------------------------------------
If {BBJOBCST.SHIFT} NOT IN [AllShifts]
Then (TotalShiftsWithRuns = TotalShiftsWithRuns + 1;
AllShifts = AllShifts + "," + {BBJOBCST.SHIFT})
-------------------------------------------------------
The variables are all initialized.
I get an error saying "The Keyword THEN is missing" and puts the cursor right before the NOT statement.
Your help is very much appreciated.
Jack.
What's wrong with the following IF statement:
-------------------------------------------------------
If {BBJOBCST.SHIFT} NOT IN [AllShifts]
Then (TotalShiftsWithRuns = TotalShiftsWithRuns + 1;
AllShifts = AllShifts + "," + {BBJOBCST.SHIFT})
-------------------------------------------------------
The variables are all initialized.
I get an error saying "The Keyword THEN is missing" and puts the cursor right before the NOT statement.
Your help is very much appreciated.
Jack.