Re: Delete problem
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62845
interpreted = N
texte = I think it is working, but not the way you expect. When you do a search, the max parameter only limits the founditems context and not the numfound tag. What you are doing works in an arbitrary way if there are more than one match and I'mnot sure why you'd want Webcatalog deleting one record over the other.Bill-----Original Message-----From: Stuart Tremain
Sent: Thu, 25 Aug 2005 16:54:48 +1000To: "WebDNA Talk" Subject: Re: Delete problemWell I understand why [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq= [JobNum]&max=1&JOBNUMsumm=T] works.Seems that max=paramater does not work so the summ cuts the found items to only one.According to the docs:"Any valid search parameters are allowed, as defined in the Search command and [Search] context."But it seems that max=paramater is not a valid search command.Hey SM how about adding that one it, sure would be handy !Stuart Tremainidfk web developments, sydney, australiaOn 25 Aug 2005, at 4:42 PM, Stuart Tremain wrote:> Hi>> We are serving from w2k WebDNA v6>> This works> [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq=[JobNum] > &max=1&JOBNUMsumm=T]> ie deleted only the first matching record found>> This deletes ALL matching records:> [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq=[JobNum]&max=1]>> Any idea what is going on ?>>> Stuart Tremain> idfk web developments, sydney, australia>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I think it is working, but not the way you expect. When you do a search, the max parameter only limits the founditems context and not the numfound tag. What you are doing works in an arbitrary way if there are more than one match and I'mnot sure why you'd want Webcatalog deleting one record over the other.Bill-----Original Message-----From: Stuart Tremain Sent: Thu, 25 Aug 2005 16:54:48 +1000To: "WebDNA Talk" Subject: Re: Delete problemWell I understand why [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq= [JobNum]&max=1&JOBNUMsumm=T] works.Seems that max=paramater does not work so the summ cuts the found items to only one.According to the docs:"Any valid search parameters are allowed, as defined in the Search command and [search] context."But it seems that max=paramater is not a valid search command.Hey SM how about adding that one it, sure would be handy !Stuart Tremainidfk web developments, sydney, australiaOn 25 Aug 2005, at 4:42 PM, Stuart Tremain wrote:> Hi>> We are serving from w2k WebDNA v6>> This works> [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq=[JobNum] > &max=1&JOBNUMsumm=T]> ie deleted only the first matching record found>> This deletes ALL matching records:> [Delete db=sitedata/meterjobs.db&eqJOBNUMdatarq=[JobNum]&max=1]>> Any idea what is going on ?>>> Stuart Tremain> idfk web developments, sydney, australia>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
devaulw@onebox.com
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:
[WebDNA] Does not understand 'search' command? (2014)
OT - AppleScript Request (2004)
WebCat2b13MacPlugIn - [include] (1997)
Here's how to kill a Butler Database. (1997)
Re1000001: Setting up shop (1997)
WebMerchant and Mac Auth Hub Help Please (1999)
RequiredFields template (1997)
OT: Outsourcing & copyrights (2005)
typo in docs (2000)
Ignoring [OrderFile] context (2005)
WC2b12: Yes, Formulas.db is for real (1997)
PCS Frames (1997)
Webcat2, WebCommerce, Mod 10 etc. (1997)
can WC render sites out? (1997)
international time (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
WebCat2 - many [carts] on one template page? (1997)
Re1000001: Setting up shop (1997)
Odd Cart Behavior (1997)
Sorting a Search... (1998)