button macro on form to print selected report

born2gamble

Registered User.
Local time
Today, 04:09
Joined
Aug 16, 2011
Messages
31
not sure what im doing wrong here...on my Form I made a button macro to print the report related to this record, but I get a popup that says :
(this is where i gotta put in the id of the report i want to print instead of it auto selected the current record)

Enter Parameter Value
Reports!Rate confirmation!ID

my macro is on click - openreport
report name : rate confirmaiton
Where Condition =[ID]=[Reports]![Rate Confirmation]![ID]
 
You should reference the Forms![Rate Confirmation]![ID] of the Form to use the Current Record ID as criteria on the Report Source Data to print the current record on the Report.
 

Users who are viewing this thread

Back
Top Bottom