I have a form that contains a button to open a report of the current data that was entered. The code that opens the report:
DoCmd****nCommand acCmdSaveRecord
DoCmd.OpenReport "rptPatients", acViewPreview, , PatientID = " & Me![PatientID]"
this code opens the report but when it opens it is blank. Can someone help me get this report to open the current record that was entered?
...



