ljamal wrote:
That assumes you use SQL Server, I'm not sure about Access as I rarely use it. |
As I said above ...
Your error means that the ASCII function is not supported in Access. But since you didn't look it up I guess, I will for you....
The ASCII function in Access is ASC, if you replace ASCII with ASC in the SQL statement above it should work for you. I even tested it with the ASC function in Access, so it does work.
In the future if you are not willing to do the extra legwork when someone points you in the right direction, just hire someone to do it for you.