Hello again
Sorry I have another problem now. I have a report and want to be able to click a button on my form to print the report details for just the current record. I added a command button with the following code on the onclick event
DoCmd.OpenReport "rptIncidentReport", acViewReport, , "[ID] = " & [ID]
However if I do it on the 1st record that the form opens to it works but when I try and move to another record and click the button again it presents a report with no data in it
What am I missing here?
Sorry I have another problem now. I have a report and want to be able to click a button on my form to print the report details for just the current record. I added a command button with the following code on the onclick event
DoCmd.OpenReport "rptIncidentReport", acViewReport, , "[ID] = " & [ID]
However if I do it on the 1st record that the form opens to it works but when I try and move to another record and click the button again it presents a report with no data in it
What am I missing here?