J
John Wyman
Common problem: I enter a last name (or possibly other text) into a LastName
field on a form which is based on a query but finally stores the last name in
the LastName field in the underlying table. If the name contains a ' (e.g.
O'Brien) the text get stored in the table with the ' in place. Then when
List Boxes or other objects try to use that field, the ' gets in the way and
causes a failure to find that record.
Without writing too much code (I'm weak in this area), how can I work around
this problem? Of course I could use " instead of the ' but this seems like
an ugly solution.
field on a form which is based on a query but finally stores the last name in
the LastName field in the underlying table. If the name contains a ' (e.g.
O'Brien) the text get stored in the table with the ' in place. Then when
List Boxes or other objects try to use that field, the ' gets in the way and
causes a failure to find that record.
Without writing too much code (I'm weak in this area), how can I work around
this problem? Of course I could use " instead of the ' but this seems like
an ugly solution.