I have need to run a vba .sql query.
standard querys are ok, but anything like the below example, falls over, I presume due to the fact that the .sql
contains a null value i.e a "", and hence the app doesn't know when the.sql string has finished.
How do you include quotation marks("") within a text string?
strSQL = "SELECT transaction_num, po_num, po_date FROM blah where po_num =""
standard querys are ok, but anything like the below example, falls over, I presume due to the fact that the .sql
contains a null value i.e a "", and hence the app doesn't know when the.sql string has finished.
How do you include quotation marks("") within a text string?
strSQL = "SELECT transaction_num, po_num, po_date FROM blah where po_num =""