<<
not sure I follow but I'd do a 
SET VAR vJunk = &tdvPrintReportCode
and then add a line
&vJunk
and see if that works?>>

No, my idea is to try:

SET VAR tdvPrintReportCode = "(CALL DoReportCode())" -- note extra parens.
SET VAR vx = &tdvPrintReportCode

Because the CALL is being done on the right side of a SET VAR statement, R:Base 
should "pass" the command as a SET VAR, not a CALL command.  You may have to do:

SET VAR tdvPrintReportCode = " = (CALL DoReportCode())" -- note extra parens.
SET VAR vx &tdvPrintReportCode

to avoid having the & immediately after the equal sign.
--
Larry

Reply via email to