D
D Collins
Hello,
I think this is probably an easy question, but I need a
little help. I have a combo box on a form that locates a
record. It works fine except for the rare occasion when
there is a name like: "Sam's Sub Shop". The apostrophe
makes it bomb out.
Here is the snipet of my code:
rs.findfirst "[CompanyName] = ' & Me![cboSelectCompany]
& "'"
Thanks,
D.
I think this is probably an easy question, but I need a
little help. I have a combo box on a form that locates a
record. It works fine except for the rare occasion when
there is a name like: "Sam's Sub Shop". The apostrophe
makes it bomb out.
Here is the snipet of my code:
rs.findfirst "[CompanyName] = ' & Me![cboSelectCompany]
& "'"
Thanks,
D.