Gossamer Forum
Home : Products : DBMan : Customization :

range search syntax

Quote Reply
range search syntax
I am using DBman as the back end for a room reservation program, for a small resort.
I wish to do two separate range searches, one to show vacant rooms within a specified date range,
and one to show occupied rooms within a specified date range.
First I create a database with a 69 day span, (severn days prior to localtime and two months in advance)
When a room is booked a new value for 'field 1' is printed using the modify_form sub.
So: 'field 1' with value 'unique0' = vacant
and 'field 1' with 'unique1' = occupied
Simple, I can now search and display the vacant rooms or the occupied rooms by searching either
for unique0 or unique1.
But I don't want to see all the days up until the end of the records that a room is vacant or occupied,
I wish only to see the results between two specified dates.
This is what I have tried passing, but I can only get dbman to reconize the first part of the date range.
/cgi-bin/db.pl?db=default&uid=&OC=unique1&ID=&Room+%23=&Date=%3E1135051260+%3C1135569660&Type=---&Rate=&Persons=&Customer=&Checkin=&Checkout=&Comments=&keyword=&view_records=View+Records
Can someone please help me with the syntax?
rgs Peter.Unsure
Subject Author Views Date
Thread range search syntax peterhall 11587 Dec 26, 2005, 8:32 PM
Thread Re: [peterhall] range search syntax
JPDeni 11372 Dec 27, 2005, 4:25 AM
Thread Re: [JPDeni] range search syntax
peterhall 11374 Dec 27, 2005, 5:24 AM
Thread Re: [peterhall] range search syntax
JPDeni 11352 Dec 27, 2005, 6:11 AM
Thread Re: [JPDeni] range search syntax
peterhall 11352 Dec 27, 2005, 4:47 PM
Thread Re: [peterhall] range search syntax
JPDeni 11325 Dec 28, 2005, 5:27 AM
Post Re: [JPDeni] range search syntax
peterhall 11303 Dec 28, 2005, 7:40 PM