A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Is it possible to start again with old data?



 
 
Thread Tools Display Modes
  #1  
Old November 8th, 2008, 07:50 PM posted to microsoft.public.access.tablesdbdesign
Bob H[_4_]
external usenet poster
 
Posts: 161
Default Is it possible to start again with old data?

I have built a tool inventory database in access 2007.
I admit I dind't plan it very well, as I just built tables for each type
of tool we use; 9 in total, with no actual relation between any of them.
The fields for each consist of:

Manufacturer
Product
Range or Drive (Tool type dependant)
Increment (again same as above)
ManufactureSerialNo
OtherSerialNo
AssetNo
LastTestDate
NextTestDate
CertificateNo
Location
Notes

Now I would like to build this as a *proper* database and not someting
that resembles excel spreadsheets. The forms and queries are there for
each table as well.
I can't have a PK in every table for any of the said fieldnames because
some are either blank or duplicated. The only way I could see to have a
PK for each type of tool would be to use AutoNumber each record.
Anyway, I would be grateful for ideas on what would be the best way to
improve this database I have built, with nearly 2000 records.

Thanks
  #2  
Old November 9th, 2008, 01:39 AM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Is it possible to start again with old data?

On Sat, 08 Nov 2008 19:50:54 +0000, Bob H wrote:

I have built a tool inventory database in access 2007.
I admit I dind't plan it very well, as I just built tables for each type
of tool we use; 9 in total, with no actual relation between any of them.
The fields for each consist of:

Manufacturer
Product
Range or Drive (Tool type dependant)
Increment (again same as above)
ManufactureSerialNo
OtherSerialNo
AssetNo
LastTestDate
NextTestDate
CertificateNo
Location
Notes

Now I would like to build this as a *proper* database and not someting
that resembles excel spreadsheets. The forms and queries are there for
each table as well.
I can't have a PK in every table for any of the said fieldnames because
some are either blank or duplicated. The only way I could see to have a
PK for each type of tool would be to use AutoNumber each record.
Anyway, I would be grateful for ideas on what would be the best way to
improve this database I have built, with nearly 2000 records.

Thanks


BUild a new Tools table, with an autonumber Primary Key and all these same
fields. Run nine Append queries to append the data in your subtables into the
Tools table. You might want to add one more field, ToolType; your Append query
for (say) drills could have

ToolType: "Drill"

in a vacant Field cell to append into the ToolType field.

You'll then need to pick one good instance of each of your nine forms and nine
(or more) queries and modify it to accommodate the new normalized table. Once
everything is working nicely you can delete the nine tables and compact the
database to free up the space they occupied.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.