Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB code to print access form

Status
Not open for further replies.

LuapM

MIS
Aug 12, 2003
4
US
Hello all. I'm creating an access database. Within this database are help "form". So, I've added command to launch thes forms that describe the function and criteria needed for said report. All is well in that area.

However, I've decided to make the pop-up help box (form) modal, so if my users click on the help button, they have to read the popup before they can go back to the database. This will work good, but I'd also like to add the option for them to print that form, because chances are they wont be able to remember what they read.

Anyone know the code needed to print these forms? I've tried Printer.Print, PrintForm.UserForm, and a whole handfull of others but cant seem to get anything to work.

Thanks in Advance.
 
Take a look at the DoCmd.RunCommand method. (with acCmdPrint argument I guess)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top