Sorry I am a total noob to access and not sure what forum section this shoudl go in, I do have some C++ and php experience though. I just started playing around with Access and so far so good.
I have several tables, I am a real estate agent, so I have a table for friends, a table for past clients, a table for potential clients, etc.
I am creating a mail merge for potential clients that might want to sell their home, I figured out how to do what I need except one caveat, sometimes the owners do not live at the property I want to sell. So to solve this I figure I will have "Street" "City" "State" "Zip" of the property, then I have a field called Absentee that is a YES/NO to be checked if they do not live there, then I have another set for the address to mail to if they are absent "Mail Street", "Mail City", etc.
Basically, I have not done any coding in Access but I would like my table to work like this..
if ( Absentee == false)
{
Street = Mail Street;
City = Mail City;
Zip = Mail Zip;
}
Basically, copy what I wrote into Street for the mailing unless I check Absentee.. Can I do this?
That way on my letter when I reference the property I can Reference "Street", but to make sure it goes to the right address on the envelop I will reference "Mail Street"...
How do I do this?
I have several tables, I am a real estate agent, so I have a table for friends, a table for past clients, a table for potential clients, etc.
I am creating a mail merge for potential clients that might want to sell their home, I figured out how to do what I need except one caveat, sometimes the owners do not live at the property I want to sell. So to solve this I figure I will have "Street" "City" "State" "Zip" of the property, then I have a field called Absentee that is a YES/NO to be checked if they do not live there, then I have another set for the address to mail to if they are absent "Mail Street", "Mail City", etc.
Basically, I have not done any coding in Access but I would like my table to work like this..
if ( Absentee == false)
{
Street = Mail Street;
City = Mail City;
Zip = Mail Zip;
}
Basically, copy what I wrote into Street for the mailing unless I check Absentee.. Can I do this?
That way on my letter when I reference the property I can Reference "Street", but to make sure it goes to the right address on the envelop I will reference "Mail Street"...
How do I do this?