C
CWFitz
In a multi-user environment, a user completes an Access Form then clicks a
"Print" Command Button which triggers a module. The module is constructed to
generate some 80 separate reports, each different based on the user's entry
form. The reports are printed directly to a network address in Adobe pdf
format (Using Adobe print driver as the default printer). The system has been
working well for about five years; It's an Office 2003 Access installation.
Here's the problem: I modified the structure of a single report,
programmatically setting the content (Control Source)of two text boxes on the
form. The modification is triggered by the 'On Activate' event. The module
line that generates the report is:
DoCmd.OpenReport "WilkesPawnReport#6", acViewNormal
....where the default printer is Adobe, ported to a network folder. The
result is that the two text boxes are not printed. Actually, I tried to trap
the error but found that that 'On Activate' is not triggered when the print
action is generated from the programming module. I can view the report singly
from Access in Print Preview mode, send it to Adobe and it works fine.
Here's the question: how can I have users generate these reports from a
module and still have the 'On Activate' event triggered.
Any assistance is appreciated.
"Print" Command Button which triggers a module. The module is constructed to
generate some 80 separate reports, each different based on the user's entry
form. The reports are printed directly to a network address in Adobe pdf
format (Using Adobe print driver as the default printer). The system has been
working well for about five years; It's an Office 2003 Access installation.
Here's the problem: I modified the structure of a single report,
programmatically setting the content (Control Source)of two text boxes on the
form. The modification is triggered by the 'On Activate' event. The module
line that generates the report is:
DoCmd.OpenReport "WilkesPawnReport#6", acViewNormal
....where the default printer is Adobe, ported to a network folder. The
result is that the two text boxes are not printed. Actually, I tried to trap
the error but found that that 'On Activate' is not triggered when the print
action is generated from the programming module. I can view the report singly
from Access in Print Preview mode, send it to Adobe and it works fine.
Here's the question: how can I have users generate these reports from a
module and still have the 'On Activate' event triggered.
Any assistance is appreciated.