Hello....
I seem to be missing an 'operator' in my expression and I am slightly confiused as to what that might be.
The query statement is:
SELECT qListTrainingSystems.[Training System] FROM qListTrainingSystems WHERE (((qListTrainingSystems.[Training System])<>"na")) ORDER BY qListTrainingSystems.[Training System];
This query is used to determine the contents of a list box.
A pop up form uses the following filter in the properties to pass the record selected into the text field
[Training System]=''
The problem occurs when A record is added that has an apostrophe in its value (such as John's)
The record will add fine but when I try to select that record with the above mentioned filter I get an error saying that
Syntax error (missing operator) in query expression '[TrainingSystem]='John's''
It seems pretty apparent to me that the problem is the apostrophe that confuses the query but I am not really sure how I can resolve that problem.
Any Help?
I seem to be missing an 'operator' in my expression and I am slightly confiused as to what that might be.
The query statement is:
SELECT qListTrainingSystems.[Training System] FROM qListTrainingSystems WHERE (((qListTrainingSystems.[Training System])<>"na")) ORDER BY qListTrainingSystems.[Training System];
This query is used to determine the contents of a list box.
A pop up form uses the following filter in the properties to pass the record selected into the text field
[Training System]=''
The problem occurs when A record is added that has an apostrophe in its value (such as John's)
The record will add fine but when I try to select that record with the above mentioned filter I get an error saying that
Syntax error (missing operator) in query expression '[TrainingSystem]='John's''
It seems pretty apparent to me that the problem is the apostrophe that confuses the query but I am not really sure how I can resolve that problem.
Any Help?