we have in our orders a ship to account# called here GRC. is located in 2 tables, as I understand it can be usually in one or the other, this formula is not returning when not in the first case, the grc is 11 string. what i want to have is if IHGRC# is blank, then get is from the other table.
IF {Command.IHGRC#} > '0' then
mid({Command.IHGRC#},1,8)
else
mid({OEORH1.OHGRC#},1,8)