Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / January 2008

Tip: Looking for answers? Try searching our database.

Visual Studio and Macros

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kerensky18 - 30 Jan 2008 15:52 GMT
I'm designing a hotel reservation system for school and would like to add a
function to the database to remove hotel rooms from circulation based on a
yes/no check box in the table.

I currently have 3 entities the first being Guest which as the name states
is used to get track of all relevant guest information.

The second entity is Room which contains the following: Room Number, Rack
Rate, Date Refurbished, Date Cleaned, and a check box for Out of Service.

My third entity is a intersection between Guest and Room titled Stay. This
entity tracks the dates of the stay, any incidentals or discounts applied,
and of course which room the guest stayed in. In order to select the room I
have a drop down menu in the Stay with a 1:m relation between room and stay.
What I would like to happen is when the Out of Service check box is checked
it removes the room from the drop down box. I don't know if it's possible but
if it is any help would be appreciated.
Dale Fye - 30 Jan 2008 17:35 GMT
Karen,

Your Room combo box should be based on a query that checks for room
availability (not already booked during the period and NOT Out-of-Service).  
What does that query look like now?

Dale
Signature

Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.

> I'm designing a hotel reservation system for school and would like to add a
> function to the database to remove hotel rooms from circulation based on a
[quoted text clipped - 13 lines]
> it removes the room from the drop down box. I don't know if it's possible but
> if it is any help would be appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.