i am trying to put a button and clicking it will send the recordsource as parameter to the report. the report is generated using query which needs userid as parameter.
please guide me through VBA code for it.
here is what i have so far
DoCmd.OpenReport " USERReport ", acViewPreview, , " UserID= '" & Me.RecordSource & "'"
it still pompts me for a parameter
thanks
please guide me through VBA code for it.
here is what i have so far
DoCmd.OpenReport " USERReport ", acViewPreview, , " UserID= '" & Me.RecordSource & "'"
it still pompts me for a parameter
thanks