T
TonyWilliams via AccessMonster.com
I have a table (tblcompany) that contains company information. I have 3 other
tables that include various data streams but also include a company name
(txtcompany) which is linked to the company name in tblcompany.
I want to create a form that deals with a situation where a company changes
its name. I know that I can create an update query for each table to change
the name in each record where it appears but I want to create a user process.
What I had in mind was an unbound form that had a combo box based on
tblcompany from which the user could select the current company name. Then
another unbound control where they input the new company name. I would then
have a command button that would run code which would run through all the
tables, find records where the company name appears and change it.
Could someone point me in the right direction as to how the code would be
constructed?
Thanks
Tony
tables that include various data streams but also include a company name
(txtcompany) which is linked to the company name in tblcompany.
I want to create a form that deals with a situation where a company changes
its name. I know that I can create an update query for each table to change
the name in each record where it appears but I want to create a user process.
What I had in mind was an unbound form that had a combo box based on
tblcompany from which the user could select the current company name. Then
another unbound control where they input the new company name. I would then
have a command button that would run code which would run through all the
tables, find records where the company name appears and change it.
Could someone point me in the right direction as to how the code would be
constructed?
Thanks
Tony