Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Filemaker > Re: Scheduling ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 8002 of 8331
Post > Topic >>

Re: Scheduling question

by "Al Lawrance" <ajlawrance@[EMAIL PROTECTED] > Apr 27, 2008 at 11:19 PM

Correction Relation****p2_3:

Try:

Start <= Arrival
Start >= Departure
End <= Arrival
End >=Departure

ALawrance

------------------------------
"Al Lawrance" <ajlawrance@[EMAIL PROTECTED]
> wrote in message 
news:mE7Rj.226687$pM4.51989@[EMAIL PROTECTED]
> Set up a relational links based on date ranges....
>
> Table 1:  only 1 record.
>
> Arrival Date:
> Departure Date:
> Constant  = 1 (calculated field)
>
> Table 2: record listing all rooms in motel (e.g., A, B, C, D... etc.)
>
> Room #
> gStart Date (global)
> gEnd  Date (global
> Constant  = 1 (calculated)
> Room Status calculated field
>
> Room Status calculation:  If (Count(Relation****p 2_3) >0; "Booked"; 
> "Available")
>
> Table 3: records where you store the rooms that are reserved.
>
> Room #
> Start Date
> End Date
> Occupant Name
> Address
> etc.
>
> Realtion****p 2_3
>
> Table 2          .................................   Table 3
>
> Room # = Room #
> gArrival Date >= Start Date
> gDeparture Date < = Departure Date
>
> Set up a second relation****p between Table 1 and 2
>
> Call it.. Relation****p 1_2 based on
>
> Table 1      Table 2
> Constant = Constant
>
> Set Up a ****tal in Layout 1 with TOC 1 to list the motel room records 
> meeting the above relation****p (constant = constant) which lists all
rooms 
> in motel as follows:
>
> Run Script that sets global dates in ****tal equal to dates entered in
TOC 
> 1 to see what's available
>
> Room          gStart Date     gEnd Date          Room Status
>
> A                04/01/2008        04/05/2008        Booked
> B                04/01/2008        04/05/2008        Booked
> C                04/01/2008        04/05/2008        Available
>
> Group the fields in the ****tal row and link it to a script that will
popup 
> a window to enter the info for booking the room.
>
> Hope this helps.. with part 1 of your question.
>
> Al Lawrance.
>
> "Karin Zirk" <kzirk@[EMAIL PROTECTED]
> wrote in message 
> news:8oudnaE_PP84GpLVnZ2dnUVZ_uOdnZ2d@[EMAIL PROTECTED]
>> Filemaker Pro 9
>>
>> Three hotel rooms: A, B and C
>>
>>
>> Room A has been rented from 8/1/08 to 8/5/08 and again from 9/1/08 to 
>> 9/10/08.
>>
>> Room B has been rented from 7/28/08 to 8/4/08 and again from 9/15/08 to

>> 9/20/08.
>>
>> Room C has no rentals on it.
>>
>> Now I have a new reservation for a room from 8/3/08 to 8/10/08 that I 
>> want to
>> assign to one of my three rooms.
>>
>> So I have two questions.
>>
>> 1) In a drop-down value list, is there anyway to indicate that either 
>> only Room C is available
>> or to show by a flag like "#" in the list that Rooms A and B have a 
>> conflict for the new reservation.
>> (So it would look like this:
>> # Room A
>> # Room B
>> Room C
>>
>> 2) In trying to automatically populate my reservation, is there anyway
to 
>> perform a find
>> that would only find record C in this instance without a user having to

>> type any information
>> into the find request.
>>
>> I've been tearing my hair out on this way and just can't seem to get a 
>> handle on how to
>> approach it.
>>
>> I've looked at what the template for Resource Scheduling but that's not

>> going to work in this situation, because
>> ultimately, I need to schedule 100 rooms at a time.
>>
>> Thanks in advance for any help that may come my way.
>>
>> Regards,
>> Karin
>>
>>
>>
>
 




 4 Posts in Topic:
Scheduling question
"Karin Zirk" &l  2008-04-23 12:02:00 
Re: Scheduling question
Helpful Harry <helpful  2008-04-25 15:27:02 
Re: Scheduling question
"Al Lawrance" &  2008-04-27 23:04:50 
Re: Scheduling question
"Al Lawrance" &  2008-04-27 23:19:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 16:10:22 CDT 2008.