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  

access database design. HEEEELP MEEEEE!!



 
 
Thread Tools Display Modes
  #1  
Old January 4th, 2009, 12:58 AM posted to microsoft.public.access.tablesdbdesign
stuckboy
external usenet poster
 
Posts: 2
Default access database design. HEEEELP MEEEEE!!

I have been asked to create a database for a uni project. I have created the
follwing 3 tables with these fields.

• Customer number (6 digits)
• Name and address including post code
• Date of season ticket purchase

• Event reference (4 digits)
• Event title
• Date of first performance
• Date of last performance
• Event type (C=Comedy,T=Thriller,M=Musical, P=Pantomime)
• Whether suitable for all the family (logical)

• Booking reference (4 digits)
• Data necessary to establish the customer-event link
• Performance date
• Number of standard price seats
• Number of ‘Old McCawber’ seats
• Number of concession seats (child/senior citizen/student etc.)

I cant seem to form the relationships between the tables. I need to form
them to represent the bookings made by the customer where tblbookings (2nd
table) forms the link table?

Also I have to create the following query which I dont have a clue where to
start?
Create a query, called qryTotalSeats, which will select the customer surname
and post code, the title of the event and the date the theatre was attended
for all those customers who booked 6 or more seats for a given performance
over the last six months. You will need to generate the total number of
seats using a calculated field called TotalNum. (Hint: you will need to
make use of the Date() function and other date related functions in the Query
By Example grid.

Any help would be amazing thanks


  #2  
Old January 4th, 2009, 05:17 AM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default access database design. HEEEELP MEEEEE!!

You'll find folks here a bit reluctant to do your homework for you.

You might want to remember that relationships between tables requires a way
to tell which record is the "parent" and which is the "child". Check up on
the topic of "foreign keys".

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/


"stuckboy" wrote in message
...
I have been asked to create a database for a uni project. I have created

the
follwing 3 tables with these fields.

• Customer number (6 digits)
• Name and address including post code
• Date of season ticket purchase

• Event reference (4 digits)
• Event title
• Date of first performance
• Date of last performance
• Event type (C=Comedy,T=Thriller,M=Musical, P=Pantomime)
• Whether suitable for all the family (logical)

• Booking reference (4 digits)
• Data necessary to establish the customer-event link
• Performance date
• Number of standard price seats
• Number of ‘Old McCawber’ seats
• Number of concession seats (child/senior citizen/student etc.)

I cant seem to form the relationships between the tables. I need to form
them to represent the bookings made by the customer where tblbookings (2nd
table) forms the link table?

Also I have to create the following query which I dont have a clue where

to
start?
Create a query, called qryTotalSeats, which will select the customer

surname
and post code, the title of the event and the date the theatre was

attended
for all those customers who booked 6 or more seats for a given performance
over the last six months. You will need to generate the total number of
seats using a calculated field called TotalNum. (Hint: you will need to
make use of the Date() function and other date related functions in the

Query
By Example grid.

Any help would be amazing thanks



  #3  
Old January 5th, 2009, 04:53 AM posted to microsoft.public.access.tablesdbdesign
Gina Whipp
external usenet poster
 
Posts: 3,500
Default access database design. HEEEELP MEEEEE!!

StuckBoy,

While I agree with Jeff regarding this being homework. I will tell you
this, you need to get out that pencil and paper (and a BIG eraser) and fix
your tables, ie: Customer Information should be just that. Storing Date of
Season Ticket Purchase is going to be a problem and makes the table only
good for one season, if that. Suppose I, the Customer, purchase Season
Tickets for me AND the guy next door but I don't do it on the same day? And
that's just the first table.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

"stuckboy" wrote in message
...
I have been asked to create a database for a uni project. I have created
the
follwing 3 tables with these fields.

. Customer number (6 digits)
. Name and address including post code
. Date of season ticket purchase

. Event reference (4 digits)
. Event title
. Date of first performance
. Date of last performance
. Event type (C=Comedy,T=Thriller,M=Musical, P=Pantomime)
. Whether suitable for all the family (logical)

. Booking reference (4 digits)
. Data necessary to establish the customer-event link
. Performance date
. Number of standard price seats
. Number of 'Old McCawber' seats
. Number of concession seats (child/senior citizen/student etc.)

I cant seem to form the relationships between the tables. I need to form
them to represent the bookings made by the customer where tblbookings (2nd
table) forms the link table?

Also I have to create the following query which I dont have a clue where
to
start?
Create a query, called qryTotalSeats, which will select the customer
surname
and post code, the title of the event and the date the theatre was
attended
for all those customers who booked 6 or more seats for a given performance
over the last six months. You will need to generate the total number of
seats using a calculated field called TotalNum. (Hint: you will need to
make use of the Date() function and other date related functions in the
Query
By Example grid.

Any help would be amazing thanks




 




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 10:30 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.