I have the query below in access and wanted to use it in VBA...
SQL = "UPDATE Sales SET Sales.order_date = CDate(Right([data],2)+" / "+Mid([data],5,2)+" / "+Left([data],4));"
I keep getting error due to the way I am building the string to then execute.
I have tried to put the
& "/" &
to build the string but get an error when executing the SQL...
How should I build the string?
Thanks!!!