table design

M

mvalrie

I need to setup tables. Here is the problem. I work in the
newspaper industry. One publication date can have many
inserts associated with that date. The inserts can have
the same name but different publication dates. How can i
set tables to sort for specific dates and the inserts
associated with that date ?
 
A

Anne Troy

What are the fields in your table now? Sorry...your question is so simple, I
must be missing something.
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->
Hope this helps!
Anne Troy (better known as Dreamboat)
Author: Dreamboat on Word
Email: Com.Piersontech@Dreamboat
(Reverse it!)
Web: www.TheOfficeExperts.com
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->
 
D

DDM

mvalrie, let me take a stab at an answer, given what you've posted. You want
two tables, tblPublicationDates and tblInserts. Their structure might go
like this:

tblPublicationDates - holds publication dates
DateID [Primary key] - AutoNumber
PublicationDate - Date/time. Default Value: Date()

tblInserts - holds inserts information
InsertID [Primary key] - AutoNumber
DateID (or PublicationDate) [foreign key (from tblPublicationDates)] -
ties the two tables together
InsertName - Text. Name of insert
Other fields as required.

Create a query that includes both tables. Sort on Publication Date and you
will get all inserts associated with that date. Filter on publication date
and you will get *only* the inserts assoc wi/that date.
 
J

John Vinson

I need to setup tables. Here is the problem. I work in the
newspaper industry. One publication date can have many
inserts associated with that date. The inserts can have
the same name but different publication dates. How can i
set tables to sort for specific dates and the inserts
associated with that date ?

You need a third table, related one-to-many to both the Issues table
and the Inserts table. See the thread just posted here entitled
"Many-to-Many Resolver/Junction tables" for a good discussion.
 

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