I need to have a query that will:
If there is an individual's e-mail then insert the e-mail;
if no (individual's) e-mail then the query will grabe the the city's e-mail and insert it
instead.
I need to have a query that will:
If there is an individual's e-mail then insert the e-mail;
if no (individual's) e-mail then the query will grabe the the city's e-mail and insert it
instead.
What you need is a calculated field.
You could try a couple of approaches:
The simplest might be the Nz function
Code:CalculatedEmail: Nz([FieldNameContainingIndividualEmail_Here],"EmailAddressToUseIfBlank_Here")