Hi,
but when I type if TableIn = 9 or 11 then as a substitute for just 1 function, it bombs.
That won't work because what does If 11 then evaluate to? For that to work it needs to be
Code:
IF (TableIn = 9) OR (TableIn = 11) THEN
/Henrik