Florence1550
New member
- Local time
- Today, 13:36
- Joined
- Nov 25, 2006
- Messages
- 3
I HAve A form with a combo box on it and when I Press the Button I Want to Change the row source of the conmbo box to:-
SELECT Street.SID, Street.Street, Postcode.Postcode
FROM Postcode INNER JOIN Street ON Postcode.PID = Street.Postcode
WHERE (((Postcode.Postcode) Like "*N1*"));
but the bit in red Like "*N!*" Seems to cause A problem in VBA
Could do with some help urgent pleas also how to spread vba code over multiple line in the SQL or row source statement
SELECT Street.SID, Street.Street, Postcode.Postcode
FROM Postcode INNER JOIN Street ON Postcode.PID = Street.Postcode
WHERE (((Postcode.Postcode) Like "*N1*"));
but the bit in red Like "*N!*" Seems to cause A problem in VBA
Could do with some help urgent pleas also how to spread vba code over multiple line in the SQL or row source statement