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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a Reportv from a form

Status
Not open for further replies.

Dilly

Technical User
May 28, 2001
41
GB
I have a demands database and want to be able to create a command button that will print the information on the form on a report I have created. I have been able to get it to print all the records but I only want it to print the current record displayed on the form
 
If you only ever want it to print one record at a time, you can put Forms!Formname![Record ID field name] in the criteria for the report's record source. Otherwise you need to add WHERE [Record ID]=Forms!Formname![Record ID field name] to your Open Report procedure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top