Re: search/showif issues
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28570
interpreted = N
texte = Thanks, that's what I was afraid of... WebCat expects this for proper nesting then.[showif [var1]=0] [search db=...] [/search][/showif]Incidentally, my workaround was using this form instead (in case anyone has had the same issue):[search db=... [showif [var1]=0]searchCriteria_A[/showif][showif [var1]!0]searchCriteria_B[/showif]...][/search]Thanks Kenneth, Jesse.Brian>No, this won't work because you have not 'nested' the contexts properly ...>>>>>I want to do perform one of two different types of searches depending on>>certain criteria.>>>>Can anyone tell me whether the following program structure should work:>>>>[showif [var1]=0]>> [search db=...]>>[/showif]>>>>[showif [var1]!0]>> [search db=...]>>[/showif]>>>>[founditems]>>...>>[/founditems]>>[/search]>>>>The page will not display and it's as if BOTH search contexts are being>>seen and that I need a second [/search] or something. I have another>>way of implementing what I want to do, but I've run into this before and>>so I thought I'd ask.>>>>Thanks,>>Brian Wachter>>Stoneport Technologies, LLC>>>>------------------------------------------------------------->>This message is sent to you because you are subscribed to>> the mailing list
.>>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >>>>================================>Kenneth Grome, WebDNA Consultant>808-737-6499 http://webdna.net>================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
Thanks, that's what I was afraid of... WebCat expects this for proper nesting then.[showif [var1]=0] [search db=...] [/search][/showif]Incidentally, my workaround was using this form instead (in case anyone has had the same issue):[search db=... [showif [var1]=0]searchCriteria_A[/showif][showif [var1]!0]searchCriteria_B[/showif]...][/search]Thanks Kenneth, Jesse.Brian>No, this won't work because you have not 'nested' the contexts properly ...>>>>>I want to do perform one of two different types of searches depending on>>certain criteria.>>>>Can anyone tell me whether the following program structure should work:>>>>[showif [var1]=0]>> [search db=...]>>[/showif]>>>>[showif [var1]!0]>> [search db=...]>>[/showif]>>>>[founditems]>>...>>[/founditems]>>[/search]>>>>The page will not display and it's as if BOTH search contexts are being>>seen and that I need a second [/search] or something. I have another>>way of implementing what I want to do, but I've run into this before and>>so I thought I'd ask.>>>>Thanks,>>Brian Wachter>>Stoneport Technologies, LLC>>>>------------------------------------------------------------->>This message is sent to you because you are subscribed to>> the mailing list .>>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >>>>================================>Kenneth Grome, WebDNA Consultant>808-737-6499 http://webdna.net>================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Brian Wachter
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:
[shippingtotal] & Formulas.db prob (2003)
[url] link (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
RE: [isfolder] and [filename] (1997)
[WebDNA] PayPal Express Checkout (2009)
Running _every_ page through WebCat ? (1997)
Formatting dates stored in db (2003)
Hiding a subsection of text (2002)
Summing fields (1997)
Location of Browser Info.txt file (1997)
verify online (1997)
Feature: TCPconnect via SSL (1999)
[WebDNA] Re:BCC and/or Character limit [sendmail] (2010)
problems with 2 tags (1997)
Getting total number of items ordered (1997)
Close-to Comparison Code (1998)
date search not working when type=date specified (2007)
[LISTFILES] (1998)
[WebDNA] linux linux linux (2009)
Not really WebCat (1997)