Thanks PHV, that worked. Appreciate it.
Question 2:
Now I want to modify that query so it returns all the records from Table1 and returns the associated records from Table2 if there is no associated record in Table2, it will still return the record from Table1.
With the current query it...
Thanks for your suggestion.
When trying to execute it via ADO it is throwing an error "syntax error in FROM clause". Tried it in MS Access query editor and and the same error.
I have following two tables:
Table1:
-------
ID
Name
Table2:
-------
OwnerID
Address1
Address2
Address3
Table1.ID = "100" and the corresponding address record in Table2 is Table2.OwnerID = "C100". So if Table1.ID = "200" then Table2.OwnerID = "C200" and so on.
So the OwnerID field in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.