Hi RW9, The problem is not solved by removing the quotes. NOTE: Line generated by the macro variable "REPQUARTER". 252 4th (October-December) __ 22 76 ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, ',', -, /, <, <=, <>, =, >, >=, ?, AND, BETWEEN, CONTAINS, EQ, EQT, GE, GET, GT, GTT, LE, LET, LIKE, LT, LTT, NE, NET, OR, ^=, |, ||, ~=. ERROR 76-322: Syntax error, statement will be ignored. The second question is not really a problem I have. I just use the macro at various places in the code.
... View more