Re: Showif date range comparison

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24094
interpreted = N
texte = >Kenneth: >Thanks for the info. I ended up with > >[showif [math]{[Shipdate]}[/math]>[week1]][Minutes][/showif] > >which works fine. > >Now, is there a way to make multiple comparisons without having to use >multiple embedded [showif]s?There's no way to do what you 'really' want to do, but ...You can use sequential showif's instead of embedding them, then put the results of each showif in a [text] or [math] variable for use further on down the page. Sequential showif's may or may not be faster than embedded showif's, I would need to hear what Grant thinks about it, but I would *assume* that embedding is slower because it requires more internal calculations ...Sincerely, Kenneth Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif date range comparison (Kenneth Grome 1999)
  2. Re: Showif date range comparison (es-sleestak 1999)
  3. Re: Showif date range comparison (Ben Weinberg 1999)
  4. Re: Showif date range comparison (Kenneth Grome 1999)
  5. Re: Showif date range comparison (Ben Weinberg 1999)
  6. Re: Showif date range comparison (John Jakovich 1999)
  7. Showif date range comparison (Ben Weinberg 1999)
>Kenneth: >Thanks for the info. I ended up with > >[showif [math]{[Shipdate]}[/math]>[week1]][Minutes][/showif] > >which works fine. > >Now, is there a way to make multiple comparisons without having to use >multiple embedded [showif]s?There's no way to do what you 'really' want to do, but ...You can use sequential showif's instead of embedding them, then put the results of each showif in a [text] or [math] variable for use further on down the page. Sequential showif's may or may not be faster than embedded showif's, I would need to hear what Grant thinks about it, but I would *assume* that embedding is slower because it requires more internal calculations ...Sincerely, Kenneth Grome WebDNA Consultant Kenneth Grome

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:

Emailer (1997) Flag checking (2000) are YOU disallowing certain chars to be in user passwords? (2000) 'does not contain' operator needed ... (1997) Our Webcat site launched (1997) Requiring that certain fields be completed (1997) Opinion: [input] should be called [output] ... (1997) [ot] html question (2000) WebCat/PDF Integration Time Est (2000) Database changes (1998) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) LetterRip and WebCat (1998) simple answer? [hideif] (1997) Upgrading old WebCat Database Files (1997) Where's Cart Created ? (1997) Summing a field full of numbers ... (1997) Date field search needs ... (1998) Variables for chat (1997) If Else Statement... (2004) Converting Esiting Html Table Forms to WebCat (1997)