If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > FileMaker > Double Booking Checking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-09, 23:56
Hardnut123 Hardnut123 is offline
Registered User
 
Join Date: Apr 2009
Posts: 3
Double Booking Checking

Hello,

Firstly I'm new to filemaker and i'm attempting a booking system.

So far i have a few tables:

CustomerID
FirstName
LastName
CheckIn
CheckOut
RoomID
Serial#


RoomID
RoomID
RoomNum
BedNum
RoomType
Rate
Serial#
DateRange

I want to be able to pick a checkin and checkout date for a particular room and somehow stop double bookings for the same room in the same period of time.

I'm volunteering in a Dharma Centre in India and this is my task at the moment, to create a booking system...

Hope someone can help or atleast offer helpful advice/point me in the right direction.

Regards

J
Reply With Quote
  #2 (permalink)  
Old 04-28-09, 02:18
aksingh aksingh is offline
Registered User
 
Join Date: Apr 2009
Posts: 2
1.create the RoomId as foreign key in Customer table using this relation u can create the realtionship between customer & room
then through that relation pick the checkin & Checkout time

2.For Not alloting the same room to other customer table check in the customer table whether that foreign key Room Id exist or not if it exist then room has been alloted else its is free
Reply With Quote
  #3 (permalink)  
Old 04-28-09, 02:24
aksingh aksingh is offline
Registered User
 
Join Date: Apr 2009
Posts: 2
create one more field in customer table status which will contain two values only Left / Availableby checking the status & roomId u can find whether the roomis vacant or full
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On