Re: AND/OR searches in WebCat 3.07

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49019
interpreted = N
texte = You could just have the allreq as a variable on the previous page like this: Then on the next page: &AllReqd=[allreqd]You then don't have to worry about the showif at all.Tim> From: Donovan > Reply-To: (WebDNA Talk) > Date: Fri, 28 Mar 2003 08:08:19 -0600 > To: (WebDNA Talk) > Subject: Re: AND/OR searches in WebCat 3.07 > > Lot-o-room for [url][/url] problems... > > Donovan > > > > Gary Krockover wrote: > >>> From what I can see, the search itself, though long, looks ok. I may have >> overlooked something. You didn't have any linebreaks in it which would >> definitly cause problems in here, but to be safe, and for viewing purposes, >> you can put it in your page like this: >> >> [search db=[var_Database_Dir]/testdb.db[!] >> [/!][hideif [DateDay]=]&eqDateDaydata=[DateDay][/hideif][!] >> [/!][hideif [DateMonth]=]&eqDateMonthdata=[DateMonth][/hideif][!] >> [/!][hideif [DateYear]=]&eqDateYeardata=[DateYear][/hideif][!] >> [/!][hideif [Title]=]&wsTitledata=[Title][/hideif][!] >> [/!][hideif [Author]=]&wsAuthordata=[Author][/hideif][!] >> [/!][hideif [Publisher]=]&wsPublisherdata=[Publisher][/hideif][!] >> [/!][hideif [ISBN]=]&wsISBNdata=[ISBN][/hideif][!] >> [/!][hideif [WebAddress]=]&wsWebAddressdata=[WebAddress][/hideif][!] >> [/!][hideif [Source]=]&wsSourcedata=[Source][/hideif][!] >> [/!][hideif [Category]=]&wsCategorydata=[Category][/hideif][!] >> [/!][hideif [LectureWeek]=]&wsLectureWeekdata=[LectureWeek][/hideif][!] >> [/!][hideif >> [ArticleExtract]=]&wsArticleExtractdata=[ArticleExtract][/hideif][!] >> [/!]&rank=off&max=[pageMaxSearchItems][!] >> [/!][showif [var_from]=1]&startat=[from][/showif][!] >> [/!][showif [SearchType]=and]&AllReqd=T[/showif]] >> >> Just in case the text is wrapping. >> >> My guess is the very last line, obviously. >> >> Make sure SearchType is passing what you think it is, >> [showif [SearchType]=and] >> Yup, equals AND >> [/showif] >> >> Also, is SearchType a reserved keyword? I don't know, but seems that it >> could be (we really need a list of reserved keywords on the interactive >> doc's :) >> >> You might try changing SearchType to another variable name and see how it >> goes. >> >> GK >> >> > > > -- > -Donovan Brooke > -Administrator of IT / > -Assc. Art Director > -Creative Services > -Epsen Hillmer Graphics > > -402.342.1169 X297 > > > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: AND/OR searches in WebCat 3.07 (Marko Bernyk 2003)
  2. Re: AND/OR searches in WebCat 3.07 (Tim Robinson 2003)
  3. Re: AND/OR searches in WebCat 3.07 (Donovan 2003)
  4. Re: AND/OR searches in WebCat 3.07 (Gary Krockover 2003)
  5. Re: AND/OR searches in WebCat 3.07 (Stuart Tremain 2003)
  6. AND/OR searches in WebCat 3.07 (Marko Bernyk 2003)
You could just have the allreq as a variable on the previous page like this: Then on the next page: &AllReqd=[allreqd]You then don't have to worry about the showif at all.Tim> From: Donovan > Reply-To: (WebDNA Talk) > Date: Fri, 28 Mar 2003 08:08:19 -0600 > To: (WebDNA Talk) > Subject: Re: AND/OR searches in WebCat 3.07 > > Lot-o-room for [url][/url] problems... > > Donovan > > > > Gary Krockover wrote: > >>> From what I can see, the search itself, though long, looks ok. I may have >> overlooked something. You didn't have any linebreaks in it which would >> definitly cause problems in here, but to be safe, and for viewing purposes, >> you can put it in your page like this: >> >> [search db=[var_Database_Dir]/testdb.db[!] >> [/!][hideif [DateDay]=]&eqDateDaydata=[DateDay][/hideif][!] >> [/!][hideif [DateMonth]=]&eqDateMonthdata=[DateMonth][/hideif][!] >> [/!][hideif [DateYear]=]&eqDateYeardata=[DateYear][/hideif][!] >> [/!][hideif [Title]=]&wsTitledata=[Title][/hideif][!] >> [/!][hideif [Author]=]&wsAuthordata=[Author][/hideif][!] >> [/!][hideif [Publisher]=]&wsPublisherdata=[Publisher][/hideif][!] >> [/!][hideif [ISBN]=]&wsISBNdata=[ISBN][/hideif][!] >> [/!][hideif [WebAddress]=]&wsWebAddressdata=[WebAddress][/hideif][!] >> [/!][hideif [Source]=]&wsSourcedata=[Source][/hideif][!] >> [/!][hideif [Category]=]&wsCategorydata=[Category][/hideif][!] >> [/!][hideif [LectureWeek]=]&wsLectureWeekdata=[LectureWeek][/hideif][!] >> [/!][hideif >> [ArticleExtract]=]&wsArticleExtractdata=[ArticleExtract][/hideif][!] >> [/!]&rank=off&max=[pageMaxSearchItems][!] >> [/!][showif [var_from]=1]&startat=[from][/showif][!] >> [/!][showif [SearchType]=and]&AllReqd=T[/showif]] >> >> Just in case the text is wrapping. >> >> My guess is the very last line, obviously. >> >> Make sure SearchType is passing what you think it is, >> [showif [SearchType]=and] >> Yup, equals AND >> [/showif] >> >> Also, is SearchType a reserved keyword? I don't know, but seems that it >> could be (we really need a list of reserved keywords on the interactive >> doc's :) >> >> You might try changing SearchType to another variable name and see how it >> goes. >> >> GK >> >> > > > -- > -Donovan Brooke > -Administrator of IT / > -Assc. Art Director > -Creative Services > -Epsen Hillmer Graphics > > -402.342.1169 X297 > > > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Tim Robinson

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:

I think I found a bug (2001) Document contains no data... (1999) Unix DB Permission Error (2002) Displaying Location (1997) verify online (1997) Tab Charactor (1997) Best Linux/webcat config?? (2000) PIXO (1997) Email within tmpl ? (1997) Serial Number Question (1997) Multiple catalog databases and showcart (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) (1997) Custom WebCat Prefs ... (1997) 3.0 [TEXT] variables (1998) Log-in Scheme (2003) RE: [WebDNA] Build Name for 6.1 (2008) WebDNA 6.0 & MAC OS X Server 10.4.10 (2007) [WebDNA] SEARCH question - SHOWIF - HIDEIF question (2011) My slower response (1997)