cytomatrix
New member
- Local time
- Yesterday, 22:20
- Joined
- Mar 14, 2005
- Messages
- 5
Hello guys,
This is my first post. I am just try to create a car booking database for fun. I wanna assign the result of SQL query to a variable. SQL query is quiet simple.
Instead of '10', I wanna assign a variable. Somebody already asked a similar question
http://www.access-programmers.co.uk/forums/showthread.php?t=65550&highlight=vba+sql+variables but didnt get a working solution. I wanna do something like that. I tried alot of things most of them didnt work. I am not a VBA expert and i am using Access 2000. Please help me. Thanks a lot.
Cheers
This is my first post. I am just try to create a car booking database for fun. I wanna assign the result of SQL query to a variable. SQL query is quiet simple.
Code:
SELECT Customers.[First name]
FROM Customers
WHERE (((Customers.[Customer ID])=10));
http://www.access-programmers.co.uk/forums/showthread.php?t=65550&highlight=vba+sql+variables but didnt get a working solution. I wanna do something like that. I tried alot of things most of them didnt work. I am not a VBA expert and i am using Access 2000. Please help me. Thanks a lot.
Cheers
Last edited: