I have a table of clients with names and addresses.
I have a second table with alternate addresses.
The relationship is one client to many alterates. The tables are linked by a unique number field in the clients table.
I am trying to write a query which selects a client from clients table and shows the address from clients table. Easy.
If the client has an alternate address I want the query to show the address from the alternate table. I can get this to work when the client has alternate addresses, but if the client has none, then my query returns no records.
Any suggestions?
I have a second table with alternate addresses.
The relationship is one client to many alterates. The tables are linked by a unique number field in the clients table.
I am trying to write a query which selects a client from clients table and shows the address from clients table. Easy.
If the client has an alternate address I want the query to show the address from the alternate table. I can get this to work when the client has alternate addresses, but if the client has none, then my query returns no records.
Any suggestions?