Re: Search Philosophy

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39369
interpreted = N
texte = Thanks to those that replied. I wish I could use lookup as I would like to keep this as fast as possible but the variables are being entered by the user so I think the case sensitivity will kill this. Also, I can't really [lowercase] or [uppercase] the value because the fields will contain mixed. :-(I'll use showifs inside a [blank] search. Thanks oh wise ones!Donovan Brooke wrote:> Hello, question from a confused designer.... > In a basic search string similiar to: > > [search db=some.db&eqFIELDdatarq=var] > [founditems] > some action > [/founditems] > [/search] > > If one wants to enact an action on both the found > items that equal FIELD and that founditems that dont equal > FIELD does one need two search contexts? > > In otherwords, I want to change a variable to something > if it is found and something else if it is not found. > > thanks.-- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search Philosophy (John Peacock 2001)
  2. Re: Search Philosophy (Donovan Brooke 2001)
  3. Re: Search Philosophy (John Peacock 2001)
  4. Re: Search Philosophy (Donovan Brooke 2001)
  5. Re: Search Philosophy (John Peacock 2001)
  6. Re: Search Philosophy (Samuel Renkert 2001)
  7. Re: Search Philosophy (Will Starck 2001)
  8. Search Philosophy (Donovan Brooke 2001)
Thanks to those that replied. I wish I could use lookup as I would like to keep this as fast as possible but the variables are being entered by the user so I think the case sensitivity will kill this. Also, I can't really [lowercase] or [uppercase] the value because the fields will contain mixed. :-(I'll use showifs inside a [blank] search. Thanks oh wise ones!Donovan Brooke wrote:> Hello, question from a confused designer.... > In a basic search string similiar to: > > [search db=some.db&eqFIELDdatarq=var] > [founditems] > some action > [/founditems] > [/search] > > If one wants to enact an action on both the found > items that equal FIELD and that founditems that dont equal > FIELD does one need two search contexts? > > In otherwords, I want to change a variable to something > if it is found and something else if it is not found. > > thanks.-- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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://search.smithmicro.com/ Donovan Brooke

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:

[WebDNA] Friday's.. WIP thread (2009) [WebDNA] Clean URLS job - will pay (2010) [OT] test (2002) PSC recommends what date format yr 2000??? (1997) Where is f2? (1997) Problems with SELECT MULTIPLE (1999) includes and cart numbers (1997) RH 8.0 (2002) Searching multiple fields from one form field (1997) Emailer help....! (1997) Authenticate (1997) Searching multiple Databases (1997) $append (1998) AddLineItem Problem (1997) [WebDNA] Manual install on Manjaro and MariaDB (2017) Problem (1997) Removing user entered whitespace... (2004) Number searching/formats (1998) RED QUESTION MARK (1999) WebDNA Windows 5.0 sendmail bug (2003)