Hi. I have a form that processes orders and from there calls a report when it is time to print the order. I am calling the report 4 times, one after the other in order to print 4 separate copies of the order. In actuality it calls 4 separate identical reports, one after the other.
I use the following from vba
DoCmd.OpenReport ReportName:="Invoices", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices2", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices3", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices4", WhereCondition:=condition
This was working fine for a couple of weeks, but now I get the following error from the On Error handler:
Object doesn;t support this property or method
What could be happenning, because after the error, it simply doesn;t print. COuld it be that the 4 successive DoCmd.Openreport commands are corrupting the software?
Thanks
I use the following from vba
DoCmd.OpenReport ReportName:="Invoices", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices2", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices3", WhereCondition:=condition
DoCmd.OpenReport ReportName:="Invoices4", WhereCondition:=condition
This was working fine for a couple of weeks, but now I get the following error from the On Error handler:
Object doesn;t support this property or method
What could be happenning, because after the error, it simply doesn;t print. COuld it be that the 4 successive DoCmd.Openreport commands are corrupting the software?
Thanks