Hey,
I hope everyone is well.
I am trying to solve a minor problem with my Database. I am trying to 'escape' characters.
My users can insert information into a textbox. This data is then stored as a variable and then used within my INSERT SQL statement.
The problem is, VBA script spits out an error: ("Syntax Error (Missing Operator) in Query Expression"). Whenever my users use a set of special characters: ',",[,],#.
How do I go about repairing this problem. It's important that my users can enter these characters if they need to.
Any help or clues would be appreciated.
Kindest Regards
Kieran
I hope everyone is well.
I am trying to solve a minor problem with my Database. I am trying to 'escape' characters.
My users can insert information into a textbox. This data is then stored as a variable and then used within my INSERT SQL statement.
The problem is, VBA script spits out an error: ("Syntax Error (Missing Operator) in Query Expression"). Whenever my users use a set of special characters: ',",[,],#.
How do I go about repairing this problem. It's important that my users can enter these characters if they need to.
Any help or clues would be appreciated.
Kindest Regards
Kieran