Macro to automatically print current record on update to a report

D

Denise

I need to print out a report (letter) when a record (applicant) is logged in
using a form. Ideally, the report prints when the data entry person tabs
through all fields or clicks on "new record." How do I program the macro to
do this?
Thanks.
 
S

Steve Schapel

Denise,

You would use an OpenReport action in your macro. I would recommend a
command button on your form, and therefore the macro is assigned on the
Click event of the button.
 
D

Denise

I've seen this where the user doesn't do anything but enter and tab through
data entry form and when at the end, the report automatically prints the
current record data to the printer. That's what I'm trying to do.
Thanks for your help.
 
D

Denise

Steve,
What print command do I enter in the macro to make it print automatically?
Thanks.
 
S

Steve Schapel

Denise,

As I mentioned before, OpenReport is the applicable action for your macro.
Setting the View argument of the OpenReport action to Print (that's the
default anyway) will result in it being printed directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top