Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 1st, 2009, 12:44 PM
xraive xraive is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 4 xraive User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 7 sec
Reputation Power: 0
Travel Itinerary Database Design

Hi All, I am trying to design a travel requests app in MS Access. The program should be able to take flight/car, hotel, or taxi, arrangements and also get confirmation. Every itinerary sometimes requires a hotel, taxi. I have attached an image of the relationhips that I have designed. Can you take a look and see if I am going in the right direction or if there are suggestions that I can make

I have the following Tables

Itinerary

ItineraryDetails

ItineraryAccomodations

Reply With Quote
  #2  
Old June 1st, 2009, 09:17 PM
dykebert's Avatar
dykebert dykebert is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 408 dykebert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 20 h 27 m 28 sec
Reputation Power: 2
Hmmm well, I'm not sure what you mean by "get confirmation" If you mean it should be able to store the confirmation # that's fine, if you mean it should be able to automate the confirmation, that will take advanced work.

You mention requests so I"m assuming you want to track requests along and then the actual trip details. That will be a bit more complex, but doable for someone comfortable with MS access. If all you are tracking is the final arrangements, that is a bit simpler, but will still take more than a few tables to do it well.

Off the top of the my head, here's what I would do for a pure itinerary tracking DB (No requests, preferences, etc)

<b>Traveler</b>
Traveler_ID
First_Name
Last_Name
Middle_Initial
Home_Airport_Code

<b>Trip</b>
Trip_ID
Trip_Start_Date
Trip_End_Date
Traveler_ID

<b>Trip_Flights</b>
Trip_Flight_ID
Trip_ID
Flight_Confirmation_Num
Flight_Date
Flight_Deptart
Flight_Arrive
Flight_Start_Airport_Code
Flight_End_Airport_Code

<b>Trip_Hotels</b>
Trip_Hotel_ID
Trip_ID
Hotel_Confirmation_Num
Hotel_Name
Hotel_City
Hotel_State
Hotel_Start_Date
Hotel_Days_Count

<b>Trip_Car</b>
Trip_Car_ID
Trip_ID
Car_Confirmation_Num
Car_Rental_Company
Car_PU_Airport_Code
Car_Drop_Airport_Code
Car_Start_Date
Car_Days_Count
Car_Type


This doesn't cover taxis, or car services. (if you need to add those it won't be hard.) It does allow for trips that cover multiple cities. It does break flights into the individual legs, which you may or may not want, but it allows for 1 - ... however many flights for a single trip.
__________________
P.S. I am looking for work. <grin>.

Reply With Quote
  #3  
Old June 1st, 2009, 09:45 PM
xraive xraive is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 4 xraive User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 7 sec
Reputation Power: 0
Travel Itinerary Design

Hi dykebert,

Sorry for not putting the details I was trying to put a picture to provide more info but i on this forum or i haven't figured out how to yet.

In regards to your design how do you match flight record with car rental or hotel accomodation. Say I have multiple flight entries only one car rental entry.

Reply With Quote
  #4  
Old June 2nd, 2009, 01:05 PM
dykebert's Avatar
dykebert dykebert is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 408 dykebert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 20 h 27 m 28 sec
Reputation Power: 2
The Trip_ID ties all of the flights, car, and hotel records together.

Reply With Quote
  #5  
Old June 2nd, 2009, 03:53 PM
xraive xraive is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 4 xraive User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 7 sec
Reputation Power: 0
But for every TripID there are numerous flight entries and car entries.

For example

I fly from NYC to LA, from LA to Seattle then from Seattle to NYC. While in LA I will rent a car. How will i Know for the trip leg of NYC to LA that I have a car rental and not for the others.

Thank you,

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Travel Itinerary Database Design


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT