I have the code and it worked once, but it hasn't since.
It pulls from a combobox "Combo1" which pulls from a Table with heading "Name"
It's text, so I have the single quotes in it.
The error pops up:
The expression On Click you entered as the event property settings produced the following error: A problem occured while Microsoft Access was communicating with the OLE server or ActiveX Control.
It compiles fine, but maybe a setting got turned off or something?
It pulls from a combobox "Combo1" which pulls from a Table with heading "Name"
It's text, so I have the single quotes in it.
Code:
DoCmd.OpenReport "r_Summary_By_Employee (previous week)", acViewPreview, , "[Name]='" & Me.Combo1 & "'"
The error pops up:
The expression On Click you entered as the event property settings produced the following error: A problem occured while Microsoft Access was communicating with the OLE server or ActiveX Control.
It compiles fine, but maybe a setting got turned off or something?