I am new to database design. I am creating an airline flight scheduling database in Microsoft Access 2002.
I am having trouble uniquely identifying an airline name, flight number in out, type of aircraft, arrival and departure times,routefrom ,routeto. All of this information is subject to change based on various factors.
I have attempted to bring the database to 3NF. I have tables for the following:
tblacCode
tblacFlightNumb erIN
tblacFlightNumb erOUT
tblacTypeOfAirc raft
tblacArrival
tblacDeparture
tblacRouteFrom
tblRouteTo.
I have a 1 to many relationship for the following
tblacCode 1: N LinktableFlight NumberINOUT
First---I would like to know if it is possible to use a linktable called treltblUniqueId entifier with a combination of all of the tables listed above primary keys to create a one to many relationship for tblacarrival, tblacdeparture ,tblacrouteFrom ,tblacrouteTo and tblDaysOFOperat ion?
Second--I set all the primary keys to autonumber but I am having trouble with the foreign keys autoupdating when I enter test data directly into access tables.
Should I have use text codes instead. These codes have a chance of repeating based on exceptions but rarely do and they would be more meaningful in my linktableUnique Identifier.
Please help.
I am having trouble uniquely identifying an airline name, flight number in out, type of aircraft, arrival and departure times,routefrom ,routeto. All of this information is subject to change based on various factors.
I have attempted to bring the database to 3NF. I have tables for the following:
tblacCode
tblacFlightNumb erIN
tblacFlightNumb erOUT
tblacTypeOfAirc raft
tblacArrival
tblacDeparture
tblacRouteFrom
tblRouteTo.
I have a 1 to many relationship for the following
tblacCode 1: N LinktableFlight NumberINOUT
First---I would like to know if it is possible to use a linktable called treltblUniqueId entifier with a combination of all of the tables listed above primary keys to create a one to many relationship for tblacarrival, tblacdeparture ,tblacrouteFrom ,tblacrouteTo and tblDaysOFOperat ion?
Second--I set all the primary keys to autonumber but I am having trouble with the foreign keys autoupdating when I enter test data directly into access tables.
Should I have use text codes instead. These codes have a chance of repeating based on exceptions but rarely do and they would be more meaningful in my linktableUnique Identifier.
Please help.
Comment