Changing Company Name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you change a company's name in the database and still be able to see
all records entered under the previous name when you use the new name?
 
Hi

If you have not used the company name as the primary field and you have not
used the name in a filter it should not make any difference.
 
Like Wayne said, if you you did not use the name as part of the primary key,
it shouldn't matter in a properly normalized database. Properly normalized
you should have something like a Companies table where the company name is
entered once and only once for the entire database.

If you did use the company name as a primary key, go to the Relationships
window and set the relationships between the primary key and all tables with
a company foriegn key field. Then turn on Referential Integriy with Cascade
Update on. If you can get referiential integrity to work, Access will
automatically update all the company name changes made in the parent table.

If you haven't normalized your data, you'll need to manually find and
replace the company name in all tables where it is entered.

What ever you do, make a complete backup of the database just in case things
go terribly wrong.
 
Disregard my previous answer. I didn't read your question properly. I now see
that you want to keep the pervious company name and not update it in records.
Possibly the best way to do this is create a new company for new records. Of
course this will be a PITA when you wish to see all the records for this one
company that has two names.
 
How do you change a company's name in the database and still be able to see
all records entered under the previous name when you use the new name?

That depends on where it is in the database. What's the structure of
your Table? Do you have the company name in a Lookup Field? Do you
have a table of company names?

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top