I need a formula to print different text based on which copy of the report is printing. I'm using the RDC with DSR, in VB6.
Example:
The report prints 3 copies - the first should print "OFFICE" in the footer, the next "ACCOUNTING" and the last, "CUSTOMER".
I have:
Report.FormulaFields(12).Text = "'OFFICE'"
Report.PrintOut False
which works fine, but following it with:
Report.FormulaFields(12).Text = "'ACCOUNTING'"
Report.PrintOut False
Report.FormulaFields(12).Text = "'CUSTOMER'"
Report.PrintOut False
gives two more reports with the word "OFFICE" on them.
Thanks in advance for any help you could give.
Regards,
BobG
Example:
The report prints 3 copies - the first should print "OFFICE" in the footer, the next "ACCOUNTING" and the last, "CUSTOMER".
I have:
Report.FormulaFields(12).Text = "'OFFICE'"
Report.PrintOut False
which works fine, but following it with:
Report.FormulaFields(12).Text = "'ACCOUNTING'"
Report.PrintOut False
Report.FormulaFields(12).Text = "'CUSTOMER'"
Report.PrintOut False
gives two more reports with the word "OFFICE" on them.
Thanks in advance for any help you could give.
Regards,
BobG