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:
Does [Sendmail] create html? (2002)
Credit card arrangement (2005)
Attention all list readers (1997)
Banners (1997)
Looking for 5 to 12 shops with 3 URLs & statements (1997)
text size limitation (1997)
More than one db with the same namn (was: WC2f3) (1997)
[OT] (waaaay OT) (2004)
page redirect in webDNA (1997)
AddLineItem Problem (1997)
Forcing a NEWCART (1997)
[OT] See QT? (Was Eaaaasy FTP...) (2003)
PSC recommends what date format yr 2000??? (1997)
PIXO support (1997)
WC2.0 Memory Requirements (1997)
Variables for chat (1997)
Future of WebDNA (was urls) (2005)
WebDNA Solutions ... sorry! (1997)
Can you do this??? and other stuff (1997)
Anyone Using 4DMail (2004)