Re: Problems deleting when a search field is blank...

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19052
interpreted = N
texte = At 17:29 Uhr 23.07.1998, Dan Keldsen wrote:>However, when I do a search and notice that perhaps there is a double >entry for someone, like USERNAME=PINK and PASSWORD=FLOYD, all I want to do is >to delete ONLY ONE OF THEM... Do not allow duplicate entries!After a new user submitted the form, do something like this:[search db=myusers.db&eqUSERdatarq=[user]&eqPWDdatarq=[pwd]] [showif [numfound]>0] Sorry, we cannot accept this username, choose an other one. [/showif] [hideif [numfound]>0] [Append ... Welcome! [/hideif] [/search]Tip: never tell him, that username AND password is already here ;-) Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems deleting when a search field is blank... (Kenneth Grome 1998)
  2. Re: Problems deleting when a search field is blank... (Peter Ostry 1998)
  3. Problems deleting when a search field is blank... (Dan Keldsen 1998)
At 17:29 Uhr 23.07.1998, Dan Keldsen wrote:>However, when I do a search and notice that perhaps there is a double >entry for someone, like USERNAME=PINK and PASSWORD=FLOYD, all I want to do is >to delete ONLY ONE OF THEM... Do not allow duplicate entries!After a new user submitted the form, do something like this:[search db=myusers.db&eqUSERdatarq=[user]&eqPWDdatarq=[pwd]] [showif [numfound]>0] Sorry, we cannot accept this username, choose an other one. [/showif] [hideif [numfound]>0] [Append ... Welcome! [/hideif] [/search]Tip: never tell him, that username AND password is already here ;-) Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

Enhancement Request for WebCatalog-NT (1996) much help needed NEWBIE alert (2000) Shipcost lookup? (1997) Searchable Archives (1998) Multiple security dbs (1997) paymethod=cc allows all zeros (1999) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Remote Administration (1998) NT vs Mac (1997) Separate SSL Server (1997) math with multiple [founditems] (1999) Emailer (1997) WebCatalog 2.0 b 15 mac (1997) Accessing SQL server from OSX (2001) Random/Odd/Even Listings (2005) [WebDNA] WebDNA slow processing (2011) More on the email templates (1997) dates and hex formatting (1997) Missing contexts on NT (1997) Configuring E-mail (1997)