Re: [WebDNA] doesn't "&max=1" work in a [delete] context?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 104013
interpreted = N
texte = Govinda wrote:>> put max=1 at the end of the delete ie>>>> [DELETE db=my.db&eqSKUdatarq=1&eqANOTHERFIELDdatarq=2&max=1]>>>> I have found that if you don't put the max at the end it doesn't work, >> same with search.>>> > Thanks Stuart..> but it is at the end!> > weird!> > > ------------> Govinda> govinda.webdnatalk@gmail.com(sorry if this posts twice)Big G, this has been debated about before with the talk list...and I agree that intuitively, max= *should* work with [delete] tag.. butit does not... or at least I don't think it has ever been fixed. (Ihaven't tested it in the last couple years)These are the kinds of fixes I really personally tried to fightfor with my position at WSC. Hopefully this will make it on the list ofthings to be looked at, as I think it should be.However, if your goal is to delete only 1 record at a time out of multiple alike records, there are solutions that people have come up with in the ever valuable talk-list archives. (I personally hope thosenever go away!)do a 'word and' search for 'delete 1 record'Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
Govinda wrote:>> put max=1 at the end of the delete ie>>>> [DELETE db=my.db&eqSKUdatarq=1&eqANOTHERFIELDdatarq=2&max=1]>>>> I have found that if you don't put the max at the end it doesn't work, >> same with search.>>> > Thanks Stuart..> but it is at the end!> > weird!> > > ------------> Govinda> govinda.webdnatalk@gmail.com(sorry if this posts twice)Big G, this has been debated about before with the
Talk List...and I agree that intuitively, max= *should* work with
[delete] tag.. butit does not... or at least I don't think it has ever been fixed. (Ihaven't tested it in the last couple years)These are the kinds of fixes I really personally tried to fightfor with my position at WSC. Hopefully this will make it on the list ofthings to be looked at, as I think it should be.However, if your goal is to delete only 1 record at a time out of multiple alike records, there are solutions that people have come up with in the ever valuable talk-list archives. (I personally hope thosenever go away!)do a 'word and' search for 'delete 1 record'Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.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:
financial calculation (2000)
the dreaded unitShipCost (2003)
A few questions. . . (1997)
strange math (2004)
Tax on shipping (1998)
Java Path Follow Up (2004)
searchable list archive (1997)
href name= link from dynamic URL possible? (1998)
requiredfields (2002)
Replto in [SendMail] (2000)
Possible Bug in 2.0b15.acgi (1997)
Search syntax question (1998)
Can't Update records (1997)
FEATURE REQUEST: Auto Resizing of images (2002)
Blocking form spam (2006)
Roundup function? (1997)
Removing and Reinstalling Typhoon (2000)
getchars broken? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Sorting by date (1997)