I need to create a mailing list to physicians. Physician's can have multiple addresses. Supplemental physician addresses are stored as facilities in the facility table. Each physician's main address is stored in the physician table. (I did not design this, but I have to work with it).
In the physician table there are 2 key fields: Notify_Fac and FacID. If Notify_Fac=yes the letter must be mailed to the facility's address (the value in the FacID field indicates which facility address. Facility addresses are stored in the facility table). If Notify_Fac=no then the letter should be mailed to the physician's main address which is stored in the physician table.
I understand how to do this building 2 separate queries, but I need to create one mailing list I can use for running a mail merge. How do I accomplish this? I am not sure how to write if then logic in Access or if there is a better way.
Thanks in advance!