button macro on form to print selected report (1 Viewer)

born2gamble

Registered User.
Local time
Today, 11:06
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]
 

apr pillai

AWF VIP
Local time
Today, 23:36
Joined
Jan 20, 2005
Messages
735
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

Top Bottom