I am running a report in Access. When I click to run report, a dialog comes up for missing parameter, showing just the name of a table in the box.
Now if I just click ok without typing anything in, the report dispays perfectly.
But user wants it gone, and I am at a loss. Here is click Event code:
and here is SQL generated by qry builder:
parameter dialog, comes up and shows tblPatientProfi le
I can't figure out why this is popping up
Ken
Now if I just click ok without typing anything in, the report dispays perfectly.
But user wants it gone, and I am at a loss. Here is click Event code:
Code:
Dim stDocName As String Dim strFilter As String stDocName = "rptPatientProfilebyInterviewID" DoCmd.OpenReport stDocName, acPreview
Code:
SELECT tblPatientProfile.*, tblInterviewRecord.* FROM tblPatientProfile INNER JOIN tblInterviewRecord ON tblPatientProfile.PatientProfileID = tblInterviewRecord.PatientProfileID WHERE (((tblInterviewRecord.InterviewID)=[Forms]![frmPatientProfile]![frmInterviewRecord subform]![InterviewID]));
I can't figure out why this is popping up
Ken
Comment