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.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Associated Messages, from the most recent to the oldest:
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.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++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:
Databases going to sleep (1998)
spawn (1998)
First postarg not taking in $Commands (1997)
Calendar using WebCatalog? (1997)
Share cost of training videos! (1998)
RE: storefront (1998)
$Append for Users outside the ADMIN group (1997)
[WebDNA] Snow Leoopard and v7 (2011)
Too Much Info (1998)
Site Builder & IE Mac (2004)
[WebDNA] ImageMagick (2009)
Dumb Question about Docs (1997)
[WebDNA] More YouTube Comments (2010)
[url] link (1998)
WebTen + WebCatalog Plugin clarification (1998)
Secure Server (1999)
WebCat and WebTV (1997)
triggers (2002)
flushdatabases/URL Commands in the clear (2000)
Web Delivery Page concept (1997)