Hi,
I am trying to open a report based on a combo box value but cannot get it to work. The following code works;
DoCmd.OpenReport "rpt1", acViewPreview, , "[CallReasonCode]='SS'"
or
DoCmd.OpenReport "rpt1", acViewPreview, , "[CallReasonCode]='VM'"
but when I take the value from the...