G
Guest
I have a form that populates the fields of two reports, one that prints or
previews a letter and the other that prints or previews a corresponding
envelope. The close action of the letter reports returns to the form whether
the user previews or prints it, in order to print the envelope. As it is now,
the close action on the report to print the envelope closes the underlying
form and brings up the database's switchboard.
Long story short...(!)
Is there any way I can have the close action of the report look to whether
it was open in acPreview or acPrint? I would like the user to be taken back
to the form if the report was previewed and back to the switchboard if it was
printed.
Thank you in advance for any advice you may have to give.
previews a letter and the other that prints or previews a corresponding
envelope. The close action of the letter reports returns to the form whether
the user previews or prints it, in order to print the envelope. As it is now,
the close action on the report to print the envelope closes the underlying
form and brings up the database's switchboard.
Long story short...(!)
Is there any way I can have the close action of the report look to whether
it was open in acPreview or acPrint? I would like the user to be taken back
to the form if the report was previewed and back to the switchboard if it was
printed.
Thank you in advance for any advice you may have to give.