Gossamer Forum
Home : Products : DBMan : Customization :

Re: [JPDeni] range search syntax

Quote Reply
Re: [JPDeni] range search syntax In reply to
The fields that matter are Status and Date, I am trying to search in this manner:
status must equal unique0 and dates must be between two submitted query dates.

However I gave it some thought and I have duplicated the date field, (different field names "Checkin" "Checkout" but the with the same data)
So now I search for status, and then perform the range search in the two date fields.
It works but a bit messy.
The result gives the vacant rooms that fall into the period between the two submitted dates. My front end script takes care of the time details.

I now have to work on how to see if a room is booked for part of the time between the two given dates.

Any sugestions?

rgs Peter
Subject Author Views Date
Thread range search syntax peterhall 11718 Dec 26, 2005, 8:32 PM
Thread Re: [peterhall] range search syntax
JPDeni 11499 Dec 27, 2005, 4:25 AM
Thread Re: [JPDeni] range search syntax
peterhall 11499 Dec 27, 2005, 5:24 AM
Thread Re: [peterhall] range search syntax
JPDeni 11478 Dec 27, 2005, 6:11 AM
Thread Re: [JPDeni] range search syntax
peterhall 11476 Dec 27, 2005, 4:47 PM
Thread Re: [peterhall] range search syntax
JPDeni 11451 Dec 28, 2005, 5:27 AM
Post Re: [JPDeni] range search syntax
peterhall 11427 Dec 28, 2005, 7:40 PM