Hi guys
I've been lucky enough to recieve loads of help from WayneRyan with my database. We both thought it would be useful to cut the DB down to size so i can post it up so that others can have a look at it and offer help/advice as i'm struggling with it a lot!
Basically....
I have to create a DB for a travel agency which allows them to store customer info, trip info, and the links in between! The DB is basically customer driven and needs to display customer info on the 'main' page.
The user should use the DB as such:
1) Telephone call is taken where user enters the customers' details (name, age, address etc) and then ticks boxes of the trips that the customer is interested in (this is the point of all those tick boxes).
2) a week or so later (once travel agency has recieved a detailed written Booking Form back) other details are entered into the DB (such as trip info/insurance info/payment info/tshirt size/bike frame size/ etc).
3) the user should be able to search for any customer in the db, and also display all the trip (and other) info when a customer is displayed after a search. also (and what is causing the hassle), is that the user should also be able to search for all customers going to Spain, or all customers who are going on a particular date, or all customers who have tshirt size XL etc.
This is a prob because i originally had a customer table and a trip table - there was a one to many relationship - but there were problems when i wanted to search for a customer by a field in the trip table (ie if we searched the trip table for all people going to spain, only the CustomerID which linked the two tables came up - i needed to display all teh customer details however).
Sorry if this seems really detailed but i'm pretty lost and any advice at all would be great.
Thanks again.
I've been lucky enough to recieve loads of help from WayneRyan with my database. We both thought it would be useful to cut the DB down to size so i can post it up so that others can have a look at it and offer help/advice as i'm struggling with it a lot!
Basically....
I have to create a DB for a travel agency which allows them to store customer info, trip info, and the links in between! The DB is basically customer driven and needs to display customer info on the 'main' page.
The user should use the DB as such:
1) Telephone call is taken where user enters the customers' details (name, age, address etc) and then ticks boxes of the trips that the customer is interested in (this is the point of all those tick boxes).
2) a week or so later (once travel agency has recieved a detailed written Booking Form back) other details are entered into the DB (such as trip info/insurance info/payment info/tshirt size/bike frame size/ etc).
3) the user should be able to search for any customer in the db, and also display all the trip (and other) info when a customer is displayed after a search. also (and what is causing the hassle), is that the user should also be able to search for all customers going to Spain, or all customers who are going on a particular date, or all customers who have tshirt size XL etc.
This is a prob because i originally had a customer table and a trip table - there was a one to many relationship - but there were problems when i wanted to search for a customer by a field in the trip table (ie if we searched the trip table for all people going to spain, only the CustomerID which linked the two tables came up - i needed to display all teh customer details however).
Sorry if this seems really detailed but i'm pretty lost and any advice at all would be great.
Thanks again.
Attachments
Last edited: