WarrenTheWindmill
Programmer
I am trying (unsuccessfully) to deploy an application. The application captures concert bookings and then prints contracts for the bands.
The problem is this: I have tested it thoroughly on my machine and it works fine.
When I deploy it on the client machine the print process randomly stops after sending the report to print but before it closes.
The code is as follows:
The last line of this code fails to run
I have tried everything I can think of to solve this, but to no avail.
I have code in the close event that updates contract numbers on the bookings table, which is not activated if the report is closed manually.
I am using Access 97
Any help would be very much appreciated
The problem is this: I have tested it thoroughly on my machine and it works fine.
When I deploy it on the client machine the print process randomly stops after sending the report to print but before it closes.
The code is as follows:
Code:
DoCmd.OpenReport "rptBookingByArtistPrint", acViewPreview
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, "rptBookingByArtistPrint", acSaveNo
The last line of this code fails to run
I have tried everything I can think of to solve this, but to no avail.
I have code in the close event that updates contract numbers on the bookings table, which is not activated if the report is closed manually.
I am using Access 97
Any help would be very much appreciated