Duplicate Fields in Table design

T

Troy

Is it possible to have duplicate fields in a table? Here
is what I need. Below is the field names.

Control Box--# units--Terminal Facility--# units--Monitor--
# units, etc.

thanks,

Troy
 
J

John Vinson

Is it possible to have duplicate fields in a table? Here
is what I need. Below is the field names.

Control Box--# units--Terminal Facility--# units--Monitor--
# units, etc.

thanks,

Troy

Certainly not; fieldnames must be unique. And this would be EXTREMELY
non-normalized design.

If you have a one to many relationship, store it in *multiple
records*, not *multiple fields*. Storing data like "Control Box" in a
fieldname is a guaranteed recipe for trouble!

You should have whatever this table is related one-to-many to a second
table with three fields: a foreign key linked to the primary key field
of your main table; an ObjectType field with values "Control Box",
"Terminal Facility", "Monitor" or whatever; and a Units field (don't
use # in fieldnames, Access gets confused).
 

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

Top