Hi!
Table name: Table1
Field name: OrderNumber(AutoNumber)
I need to run SQL using this field name and now parentheses in the name is giving me hard times.
This statement would work if there wasn't parentheses in the name. Is there someway to use parentheses in that kind statement? It's too late to change the field name...
Thanks if somebody has an answer to this!
-TH-
Table name: Table1
Field name: OrderNumber(AutoNumber)
I need to run SQL using this field name and now parentheses in the name is giving me hard times.
Code:
DoCmd.RunSQL "DELETE * FROM Table1 WHERE OrderNumber(AutoNumber) LIKE " & intNumber & " ;"
This statement would work if there wasn't parentheses in the name. Is there someway to use parentheses in that kind statement? It's too late to change the field name...
Thanks if somebody has an answer to this!
-TH-