wizcow
Registered User.
- Local time
- Today, 10:09
- Joined
- Sep 22, 2001
- Messages
- 236
I have made a query that does what I want.
I have coppied it from the SQL window.
When I insert it into my code it doesn't work.
I think I am haveing some trouble with the " and the ,
What do I have to change here?
Thanks
Tom
I have coppied it from the SQL window.
Code:
SELECT *, [CustomerLast] & ", " & [Title] & " " & [CustomerFirst] AS SoldToCustomer
FROM Customers;
When I insert it into my code it doesn't work.
I think I am haveing some trouble with the " and the ,
Code:
Dim strRecordSource As String
strRecordSource = "SELECT *, [CustomerLast] & ", " & [Title] & " " & [CustomerFirst] AS SoldToCustomer" & _
" FROM Customers;"
What do I have to change here?
Thanks
Tom