All, using access 2013. I have a query from a table that I want to join in another table to pick up the sub accts for customers based on custid and state. Ex.
qrycust
Code:
custid custstate
cust1234 VA
tblcustsub
Code:
qrycustid qrycuststate
cust1234 VA
cust1234A VA
Desired results:
qrycustsub
Code:
qrycustid qrycuststate
cust1234 VA
cust1234A VA
qrycust are the results from tblcust filtered by some criteria. tblcust does not contain the sub accts for customers. the sub accts are only in tblcustsub. I want all the customers in the qrycust and only matching from the tblcustsub but also the sub accts listed in the Desired results example. My query now only picks up the custid but not the cust sub accts because I don't have the sub accts in qrycust. How can I acheive the results I need?