Add a vacant field and check to see if vacant is 0 or 1 0 being not vacant and 1 being vacant? But the where clause would look something like.... Select * from task t WHERE TO_DATE('#arguments.new_to#','mm/dd/yyyy') >= t.startDate AND TO_DATE('#arguments.new_from#','mm/dd/yyyy') <= t.finishDate
On 7/28/05, Doug Bedient <[EMAIL PROTECTED]> wrote: > I would still have dates between the arrival date and newly created departure > date that would need to be handled somehow. Originally, I had looping set up > to create a record for every date but it seemed like a lot of extra > processing that shouldn't be required. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54