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 +1000 To: "WebDNA Talk" Subject: Re: Delete problem Well 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 Tremain idfk web developments, sydney, australia On 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:

    
  1. Re: Delete problem ( devaulw@onebox.com 2005)
  2. Re: Delete problem ( Stuart Tremain 2005)
  3. Delete problem ( Stuart Tremain 2005)
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 +1000 To: "WebDNA Talk" Subject: Re: Delete problem Well 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 Tremain idfk web developments, sydney, australia On 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:

vs (1997) Re1000001: Setting up shop (1997) Creating main- and sub-category search (1997) Is this possible, WebCat2.0 and checkboxes (1997) Languages (1997) Getting store builder store name (2005) [WebDNA] Pretty URLS (2011) [Semi-OT] Eaaaaaasy OSX FTP (2003) Emailer setup (1997) close to search (2001) Re:2nd WebCatalog2 Feature Request (1996) [WebDNA] Strange error (2014) wrong input values? (1997) anyone about? (2004) New command suggestion (1997) PIXO support (1997) MacAuthorize order data fields WAS:How To question... (1997) Price + Texte (1999) Am I going senile? (Price recalc based on quantity) (1997) WebCat B13 Mac CGI -- Frames question (1997)