A
Accelerations
I have this statement strSQL = "SELECT * FROM AllResults where level =
(" & [Forms]![getresults]![levellist] & ") and agegroup =
[Forms]![getresults]![agegroupList]". The levellist is a number and that
works. The agegrouplist is text and I can't get it right. I know it's the
placement of the single quote. On a couple of tries it ran the code but said
no records were found. Most of the time I get a syntax error. I know it is
simple but any help is appreciated.
Thank-you.
(" & [Forms]![getresults]![levellist] & ") and agegroup =
[Forms]![getresults]![agegroupList]". The levellist is a number and that
works. The agegrouplist is text and I can't get it right. I know it's the
placement of the single quote. On a couple of tries it ran the code but said
no records were found. Most of the time I get a syntax error. I know it is
simple but any help is appreciated.
Thank-you.