Hi all, I promise this is my last question on this db....
This is a two issue post!
I am trying to create a pop up form when entering a new email address that checks to see if a domain is present on another form
and then if domain changes it changes all my other addresses that have that domain. db Attached but not a lot of data in as have to keep small in order
to make it small enough to upload it
Db will open to CompanyProfileFrm. On that form i have a ChkDomain check box and TxtDomainName text box.
If you click on Contacts button the contact form will open up, then click on Manage Emails button on on ContactsFrm.
On the after update event on the CboEmailType I need it to check to see if the ChkDomain is True and that the TxtDomainName is not null on the CompanyProfileFrm.
If Use Domain is True, and Domain is not null then
msgbox "Would you like to use the company domain for this email address? Y/N
If Yes, then put the Domain Name from the TxtDomainName from Company Form in the TxtDomain and ChkUseDomain = True on CompanyEmailFrm
If No, then just leave the Domain Name blank for me to fill in the Domain and ChkUseDomain = False on CompanyEmailFrm
Now, If I change the TxtDomainName (Domain Name) on CompanyProfileFrm I need it to change the CompanyEmailFrm Emails address that are CheckUseDomain = True
so that it changes all the emails for that domain that the ChkUseDomain = True
Reasons for doing this are:
1. If a company has a domain as many do these days, then i want to be able to use it and have it automatically fill in. In some cases even when they have
a domain there are emails that dont use it or are differnt form that of that domain. Need the option to use or not use!
2. If a company changes their domain as they do... i dont have to go through 500 email names and change the domain to a new domain.
Thank you all,
Dave
Copy Profile Test.zip