Hi, all!
I have a report and a form both drawn from the same table (ResponsesT).
The report (TrackEventRep) contains the following (among others):A button (ButtonUpdateStatusForm).
Fields RespEventName and RespOrgName.
The button opens a form (TrackUpdateStatusF) that contains the following (among others):Fields RespEventName and RespOrgName. Same field names as the report.
The button is supposed to open the form so that a particular organization's RSVP status for a particular event can be updated; thus it should open the form for the record that equals both RespOrgName and RespEventName.
Here's my Event Procedure for the button:Private Sub ButtonUpdateStatusForm_Click()
DoCmd.OpenForm "TrackEventStatusF", acViewPreview, , "RespOrgName=" & Me.RespOrgName & " AND RespEventName=" & Me.RespEventName & "'"
End Sub
However, I am getting Run-time error '2465' that says "Microsoft Access can't find the field 'RespEventName' referred to in your expression. I've checked and checked and checked, and it's there, with no typos. I've googled and googled and googled to make sure I have the best understanding of the language.
Any thoughts, you master debuggers????
Thank you so much!
--ak