P
Paul Fenton
I have a form that displays Client records and has a combo box field
that displays the source of the lead. I want to filter the records
displayed on the form by a certain value in that combo box and I want
to place a command button on the form that will set the filter. I've
tried this code:
DoCmd.OpenForm "Browse Client List", acNormal, , "'Lead Source' =" &
me.cboReferrals
All I get with the above is an error "The open form action was
cancelled".
Is what I'm trying to do possible without a toolbar and if so, what's
wrong with the line above?
Paul Fenton
(e-mail address removed)
that displays the source of the lead. I want to filter the records
displayed on the form by a certain value in that combo box and I want
to place a command button on the form that will set the filter. I've
tried this code:
DoCmd.OpenForm "Browse Client List", acNormal, , "'Lead Source' =" &
me.cboReferrals
All I get with the above is an error "The open form action was
cancelled".
Is what I'm trying to do possible without a toolbar and if so, what's
wrong with the line above?
Paul Fenton
(e-mail address removed)