Can he do that?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19697
interpreted = N
texte = I wanna use a grouping in a contextual search, in english:Search the database, the using 1 input field to search the 'name' and the 'email' field. Using another input field the users password is input. if we have a match between the email or the name and the password checks out then return the record.in dna terms this would be sumpin like this:[search db=giveaway.db&group1field=name+email&eqgroup1datarq=[from.name]&eqpassdata rq=[form.pass]&max=1]only it would work.Can I use a hidden field on the form to group name & email? mmm no that don't make sense.The tough part is making the logic in one search context. I want to force there to be a match between the password and either the name or email. If there is no match name or email then I don't want to return something based on the password. Can I do it in one search or do I haves to use 2.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: Can he do that? (bob 1998)
  2. Re: Can he do that? (John Hill 1998)
  3. Can he do that? (bob 1998)
I wanna use a grouping in a contextual search, in english:Search the database, the using 1 input field to search the 'name' and the 'email' field. Using another input field the users password is input. if we have a match between the email or the name and the password checks out then return the record.in dna terms this would be sumpin like this:[search db=giveaway.db&group1field=name+email&eqgroup1datarq=[from.name]&eqpassdata rq=[form.pass]&max=1]only it would work.Can I use a hidden field on the form to group name & email? mmm no that don't make sense.The tough part is making the logic in one search context. I want to force there to be a match between the password and either the name or email. If there is no match name or email then I don't want to return something based on the password. Can I do it in one search or do I haves to use 2.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. bob

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:

Upgrading old WebCat Database Files (1997) Radius-Based Zip Locator (2005) [WebDNA] Lightbox2 for WebDNA [updated] (2008) Re1000001: Setting up shop (1997) port 16080 problem (2003) Allowed fields in formulas.db (1998) [OT] On a side note.. (2003) Processing all html files through WebCat or Typhoon (1998) [UPPERCASE] (1997) Emailer help....! (1997) Copyright ? (1997) % (mod) was looping table rows (1999) Help! WebCat2 bug (1997) Possible Bug in 2.0b15.acgi (1997) Mirroring WebCat Servers (2001) Problems with Frames (1998) #$%@! formulas (1998) WebCat2b15MacPlugin - [protect] (1997) Emailer tracking (1997) [Webcat 2]Next (1997)