BigJimSlade
Registered User.
- Local time
- Today, 14:26
- Joined
- Oct 11, 2000
- Messages
- 173
Hey, Big Jim here:
I have a query somewhat like this:
txtTest.text = Mike's "D" Licious Salads
Docmd.RunSQL(Select * FROM Table WHERE Name = '" & txtTest.text & "' ;")
Anyhow, I get an error because of the quotes around the D and/or the apostrophe in Mike's pending on how I write the code. How could I write this query so that it would accept both the apostrophe and the quotes?
Thanks in advance!
Big Jim
I have a query somewhat like this:
txtTest.text = Mike's "D" Licious Salads
Docmd.RunSQL(Select * FROM Table WHERE Name = '" & txtTest.text & "' ;")
Anyhow, I get an error because of the quotes around the D and/or the apostrophe in Mike's pending on how I write the code. How could I write this query so that it would accept both the apostrophe and the quotes?
Thanks in advance!
Big Jim