A workaround for handling date range search in yyyy/mm/dd form

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13050
interpreted = N
texte = Many thanks to the help from the fellow webcat'ers for answers to my other questions! I thought I share a workaround I found for handling range search on dates in the old yyyy/mm/dd format. This works as a string compare, but it is handled properly because of the format.Basically you perform your search using the search action from one end of the range ala something like:In your starting tmpl you have (where your field is labelled gendata, endgendate is just a variable passed on to the following tmpl):Starting from date of but ending before Then on your resultant tmpl you have something like:[founditems][showif [Gendate]<[EndGenDate]]....[/showif][/founditems]This works great! Any hope for the new webcat version supporting <= (¾) and >= („) compares?Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. A workaround for handling date range search in yyyy/mm/dd form (w curt eggemeyer 1997)
Many thanks to the help from the fellow webcat'ers for answers to my other questions! I thought I share a workaround I found for handling range search on dates in the old yyyy/mm/dd format. This works as a string compare, but it is handled properly because of the format.Basically you perform your search using the search action from one end of the range ala something like:In your starting tmpl you have (where your field is labelled gendata, endgendate is just a variable passed on to the following tmpl):Starting from date of but ending before Then on your resultant tmpl you have something like:[founditems][showif [Gendate]<[EndGenDate]]....[/showif][/founditems]This works great! Any hope for the new webcat version supporting <= (¾) and >= („) compares?Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- w curt eggemeyer

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) looping table rows (1999) [WebDNA] Installation problems for IIS 6 (2010) 3.0 [TEXT] variables (1998) Re:Part 2 - [showif] if variable exists (1998) different ship dates and shopping carts -- how to? (1997) Browser Check for WebDNA compatability (1999) Text data with spaces in them... (1997) WebSTAR 2.1 freezes my Mac (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) $purchase WITHOUT creditcar (1997) Still online from NY (2003) How to Sort Summ data ? (1997) Why isn't this working (1999) lookup and two records? (1997) Problem (1997) New Command prefs ... (1997) Bug Report, maybe (1997) Help formatting search results w/ table (1997) Carts in Admin folder? (1999)