I'm trying to print out only the current record from my form in a report but each time all the records print out. How can I print only one record using a report.
I have place a button in the report, with the following in the command in the On Click box;
DoCmd.OpenRepor t "Issues",acView Preview, , "[ID] = " & Me![ID]
Each time I try to run this I get the following message;
Access cannot find the object DoCmd.
Where am I going wrong?
Steve
I have place a button in the report, with the following in the command in the On Click box;
DoCmd.OpenRepor t "Issues",acView Preview, , "[ID] = " & Me![ID]
Each time I try to run this I get the following message;
Access cannot find the object DoCmd.
Where am I going wrong?
Steve
Comment