SQL concatenation statement

C

CLamar

I am using the following the SQL statement in VBA to query an Access
database. The statement is supposed to query two different columns and
concatenate them together, but it gives me the error "Invalid use of vertical
bars" Can anyone tell me what the syntax of the concatenation statement
should be

The statement I have now is: Src = "SELECT SerialNo || Batch FROM Reference
WHERE Entry =" & "" & Entrynum & ""
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top