ironfelix717
Registered User.
- Local time
- Today, 14:49
- Joined
- Sep 20, 2019
- Messages
- 193
Back again.
How does one escape special characters, especially the
Topics that exists on this discusses enclosing them with brackets "[ ]". That would be a wonderful solution... but lo and behold that would be far to simple to work in Access, as pointed out here by a commenter:
escaping-special-characters-for-ms-access-query
And proved by myself with several tests.
EXAMPLE:
NOTE: AS described in my last topic, I cannot use a parameter, this must be solved in a string.
Thanks for your help.
How does one escape special characters, especially the
.
period/dot operator inside a criteria string?Topics that exists on this discusses enclosing them with brackets "[ ]". That would be a wonderful solution... but lo and behold that would be far to simple to work in Access, as pointed out here by a commenter:
escaping-special-characters-for-ms-access-query
And proved by myself with several tests.
EXAMPLE:
CSS:
Criteria = "McHammer.com"
SQL = "SELECT * FROM Users WHERE UserID = '" & Criteria & "';"
^^FAIL!
NOTE: AS described in my last topic, I cannot use a parameter, this must be solved in a string.
Thanks for your help.