Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Table db Design > RE: Table Desig...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 12040 of 12659
Post > Topic >>

RE: Table Design

by =?Utf-8?B?S2xhdHV1?= <Klatuu@[EMAIL PROTECTED] > Jul 24, 2008 at 01:43 PM

How about:

Assets Table 
AssetID
AssetDescription
OwnerID
OwnerType

Then when you link to it from the different tables that can be owners, you

filter it on the OwnerType for that table.

-- 
Dave Hargis, Microsoft Access MVP


"Weste" wrote:

> I am building an asset tracking database and have a design question.  An

> asset can be owned by either an employee, store, or a division.  I have
a 
> table for employees, stores, and divisions.  Each table with some of its

> fields is below.  My question is about the Assets table.  I need to
track the 
> owner of the asset in the Assets table.  Should I have 3 separate fields
in 
> the table to indicate owner – EmployeeID, StoreID, or DivisionID where
only 1 
> of the 3 can be populated for an asset?  This doesn’t seem to be the
best 
> solution for a normalized design.  However, I am stumped as how to
improve it 
> since the owners are so different.  Any help would be greatly
appreciated.
> 
> Assets Table 
> AssetID
> AssetDescription
> EmployeeID
> StoreID
> DivisionID
> 
> 
> Employees Table
> EmployeeID
> LastName
> FirstName
> DepartmentID
> JobTitleID
> TerminationDate
> 
> Stores Table
> StoreID
> StoreNumber
> StoreName
> DeparmentID
> 
> Divisions Table
> DivisionID
> DivisionName
> DepartmentID
> 
> Departments Table
> DepartmentID
> DepartmentNumber
> DepartmentName
>
 




 4 Posts in Topic:
RE: Table Design
=?Utf-8?B?S2xhdHV1?= <  2008-07-24 13:43:01 
RE: Table Design
=?Utf-8?B?S2xhdHV1?= <  2008-07-24 14:19:01 
RE: Table Design
=?Utf-8?B?V2VzdGU=?= <  2008-07-24 14:01:01 
Re: Table Design
"Pete D." <p  2008-07-24 21:12:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:09:19 CST 2008.