Hi all,
A form based on a query (qry_source_tra ilers) contains the field
[bookref]. In the forms header, I have placed an unbound text box where the
afterupdate property is set to:
DoCmd.ApplyFilt er , "bookref = forms!frm_trail ers!txt_find_br ef" This works
fine but I would like to change the filter property to Like instead of
equals due to some of the booking references being very long.
I've tried DoCmd.ApplyFilt er , "bookref like " *
"&forms!frm_tra ilers!txt_find_ bref&" * "" which throws up a type mis-match.
Could anyone offer any guidance?
TIA,
Mark
A form based on a query (qry_source_tra ilers) contains the field
[bookref]. In the forms header, I have placed an unbound text box where the
afterupdate property is set to:
DoCmd.ApplyFilt er , "bookref = forms!frm_trail ers!txt_find_br ef" This works
fine but I would like to change the filter property to Like instead of
equals due to some of the booking references being very long.
I've tried DoCmd.ApplyFilt er , "bookref like " *
"&forms!frm_tra ilers!txt_find_ bref&" * "" which throws up a type mis-match.
Could anyone offer any guidance?
TIA,
Mark
Comment