I am designing a database for a hotel booking system for my A level project...
The following are my entities and attributes...
customers table - Customer ID, title, firstname, surname, address, town, postcode, county, dob, sex, telephone, mobile
bookings table - Booking ID, Customer ID, Room ID, arrival date, departure date, Time, rooms per night, adults per room, children per room, smoking preference, easy access room, accommodation, room type, room quality, bed type, budget, price, payment method, VAT, total cost, credit card type, card number, expiry date. .
staff table - staff id, title, firstname, surname, address, town, county, postcode, dob, telephone number, mobile number, sex, position and salary per year
rooms table - Room ID, hotel facility id, smoking preference, easy access room,accommodation, room type, room quality, bed type, price, VAT, total cost
hotel facilities table - hotel facility ID, room id, parking, fitness facilities, swimming, pool, restaurant, disabled facilities, pets welcome, non smoking rooms, air conditioning, short periods, guided tours, banquets, spa, groups allowed, congress/meetings, child friendly, tennis court, concierge service, heated pool.
cleaning table - cleaner id, staff id, room id, cleaning time, rooms to clean, date
I am having problems linking the fields together and making relationship and enforcing referential entegrity, the following errors appears each time I want to link one field to another...
for example if I giv try 2 link room id 4rm da bookings table 2 room id in the rooms table it says...microsoft access cant create this relationship and enforce referntial integrity...data in the table 'bookings' vilates intergrity rules. For example, there may be records relating to an employee in the related table, but no record for the employee in the primary tables. Edit the data so that record in the primary table for all related records. If u want to create the relationships without following the rules of referntial intergreity, clear the enforce refernential entergrity check box...
can someone urgently help me plz

The following are my entities and attributes...
customers table - Customer ID, title, firstname, surname, address, town, postcode, county, dob, sex, telephone, mobile
bookings table - Booking ID, Customer ID, Room ID, arrival date, departure date, Time, rooms per night, adults per room, children per room, smoking preference, easy access room, accommodation, room type, room quality, bed type, budget, price, payment method, VAT, total cost, credit card type, card number, expiry date. .
staff table - staff id, title, firstname, surname, address, town, county, postcode, dob, telephone number, mobile number, sex, position and salary per year
rooms table - Room ID, hotel facility id, smoking preference, easy access room,accommodation, room type, room quality, bed type, price, VAT, total cost
hotel facilities table - hotel facility ID, room id, parking, fitness facilities, swimming, pool, restaurant, disabled facilities, pets welcome, non smoking rooms, air conditioning, short periods, guided tours, banquets, spa, groups allowed, congress/meetings, child friendly, tennis court, concierge service, heated pool.
cleaning table - cleaner id, staff id, room id, cleaning time, rooms to clean, date
I am having problems linking the fields together and making relationship and enforcing referential entegrity, the following errors appears each time I want to link one field to another...
for example if I giv try 2 link room id 4rm da bookings table 2 room id in the rooms table it says...microsoft access cant create this relationship and enforce referntial integrity...data in the table 'bookings' vilates intergrity rules. For example, there may be records relating to an employee in the related table, but no record for the employee in the primary tables. Edit the data so that record in the primary table for all related records. If u want to create the relationships without following the rules of referntial intergreity, clear the enforce refernential entergrity check box...
can someone urgently help me plz