I have a formula in my report as below and when I try to run the report it's giving me an error that the reamining test does not appear to be a part of the formula.
Any help would be appreciated
Thanks
whileprintingrecords;
Dim app As CRAXDRT.Application
Dim rep As CRAXDRT.Report
Set app = New CRAXDRT.Application
Set rep = app.OpenReport("C:\report1.rpt") //update on install
rep.PaperSource = crPRBinMiddle
rep.PrintOut False, , , 1, 1
rep.PaperSource = crPRBinUpper
rep.PrintOut False, , , 2