Hi,
How can I prevent people from including quote marks when entering data?
It messes things up when I try to use that field later in an SQL statement from VBA.
For example, I have a field called [Comments1] and someone enters:
Then later I run this from VBA using an INSERT or UPDATE SQL string:
It doesn't work.
How can I prevent people from including quote marks when entering data?
It messes things up when I try to use that field later in an SQL statement from VBA.
For example, I have a field called [Comments1] and someone enters:
Code:
This is a very boring "comment".
Then later I run this from VBA using an INSERT or UPDATE SQL string:
Code:
DoCmd.RunSQL (SQL)
It doesn't work.