<< Any idea why &tdvPrintReportCode with in the cursor gives me that error? >> I just today had a very similar issue running a whole command line with macro substitution from an EEP. I thought it was 'cause my command line (C: to change a drive) was an EEP command, but I'll be that R:Base is checking the validity _before_ the macro substitution against a list, and the line isn't passing the test.
Try: SET VAR vJunk = &tdvPrintReportCode and see if that works. SET VAR is definitely allowed in EEPs! -- Larry

