kennedymr2
Programmer
in VBa i am printing several reports , but the problem i have is they are using the same query.. i keep getting a message that the table is already in use
Is there a way of stopping the preview of the second report until the first report is printed and completed,
This is the code
Dim stDocName As String
stDocName = "FODETDSalesCommissionDue1"
DoCmd.OpenReport stDocName, acPreview
???can we stop it here ??? eg While viewing ???
stDocName3 = "FODETDSalesCommissionOS1"
DoCmd.OpenReport stDocName3, acPreview
stDocName = "sumx"
DoCmd.OpenReport stDocName, acPreview
Appreciate any help
Kennedymr2
Is there a way of stopping the preview of the second report until the first report is printed and completed,
This is the code
Dim stDocName As String
stDocName = "FODETDSalesCommissionDue1"
DoCmd.OpenReport stDocName, acPreview
???can we stop it here ??? eg While viewing ???
stDocName3 = "FODETDSalesCommissionOS1"
DoCmd.OpenReport stDocName3, acPreview
stDocName = "sumx"
DoCmd.OpenReport stDocName, acPreview
Appreciate any help
Kennedymr2