I have an Access 2007 database that has 3 tables, each the same.
Each of these tables is for a different telemarketer to enter leads. It is necessary for there to be multiple tables as each marketer must be treated as a separate entity.
Each of these tables has the following fields relevant to the question:
POBoxNumber
POBoxSuburb
POBoxCity
POBoxPostCode
AddressBuilding
AddressStreet
AddressSuburb
AddressCity
AddressPostCode
Now what I need to do is create a query for label printing which will prefer the PO Box to the physical address, if the PO Box is empty it will use the physical.
I then need this to be displayed as
AddrLine1
AddrLine2
AddrLine3
AddrLine4
AddrLine5
ie AddrLine1 if pobox is filled will be the PO Box number, otherwise it will be the building… and so on.
I have tried Unions and Conditional selects so far but to no avail!
How do I do this?
Perhaps:
If this is not what you want, please explain why it is not and provide some sample data. Your question is a little vague as it stands.