im trying to use an SQL statement to filter a dropdown box on a form.
the following is the row source value for the field Meeting_Subject on a form:
SELECT DISTINCTROW [Meeting_Agenda].[Subject] FROM [Meeting_Agenda] WHERE HearingMeeting_Date=[Meeting].[Meeting_Date];
there is a field on my form called HearingMeeting_Date. where i want the user to select from a drop down box, the date which they want to view the Meeting_Agenda subjects.
if i remove the WHERE clause, it lists all the subjects for the agendas, but not specifically the ones relating to the date selected in the "HearingMeeting_Date" field.
if i have the WHERE clause, i get prompted for a parameter value saying
"Meeting.Meeting_Date".
how can i use this query to select only those subjects that relate specifically to the meeting date?
i want it to look at the HearingMeeting_Date entered on the form, and only select the subjects which relate to this date.
please help!!
the following is the row source value for the field Meeting_Subject on a form:
SELECT DISTINCTROW [Meeting_Agenda].[Subject] FROM [Meeting_Agenda] WHERE HearingMeeting_Date=[Meeting].[Meeting_Date];
there is a field on my form called HearingMeeting_Date. where i want the user to select from a drop down box, the date which they want to view the Meeting_Agenda subjects.
if i remove the WHERE clause, it lists all the subjects for the agendas, but not specifically the ones relating to the date selected in the "HearingMeeting_Date" field.
if i have the WHERE clause, i get prompted for a parameter value saying
"Meeting.Meeting_Date".
how can i use this query to select only those subjects that relate specifically to the meeting date?
i want it to look at the HearingMeeting_Date entered on the form, and only select the subjects which relate to this date.
please help!!
