Re: Remove Multiple Line Items

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62836
interpreted = N
texte = Since this is for the record, if you're talking about inside the math context, then the square brackets around a math variable are optional. Try this: [math show=f]adjustby=0[/math] [math show=f]adjustby=[adjustby]-1[/math] [adjustby] It will return "-1" as desired. The same is NOT true of text variables. -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- On Aug 23, 2005, at 3:34 PM, Stuart Tremain wrote: > Terry > > For the archives: There are a few missing [ ] brackets around adjustby > > [showif [trig]=Recalculate] > [math show=f]adjustby=0[/math] > > [formvariables name=qty_&exact=F] > [math show=f]updateitemnumber=[getchars > start=5][name][/getchars]+[adjustby][/math] > > [showif [value]=0] > [removelineitem file=ShoppingCarts/[cart]&index=[updateitemnumber]] > [math show=f]adjustby=[adjustby]-1[/math] > [/showif] > > [hideif [value]=0] > [setlineitem > file=ShoppingCarts/ > [cart]&db=[db]&index=[updateitemnumber]]quantity=[value][/setlineitem] > [/hideif] > [/formvariables] > > [/showif] > > > > Stuart Tremain ------------------------------------------------------------- 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: Remove Multiple Line Items ( Stuart Tremain 2005)
  2. Re: Remove Multiple Line Items ( Brian Fries 2005)
  3. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  4. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  5. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  6. Re: Remove Multiple Line Items ( Terry Wilson 2005)
  7. Re: Remove Multiple Line Items ( Kenneth Grome 2005)
  8. Remove Multiple Line Items ( Stuart Tremain 2005)
Since this is for the record, if you're talking about inside the math context, then the square brackets around a math variable are optional. Try this: [math show=f]adjustby=0[/math] [math show=f]adjustby=[adjustby]-1[/math] [adjustby] It will return "-1" as desired. The same is NOT true of text variables. -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- On Aug 23, 2005, at 3:34 PM, Stuart Tremain wrote: > Terry > > For the archives: There are a few missing [ ] brackets around adjustby > > [showif [trig]=Recalculate] > [math show=f]adjustby=0[/math] > > [formvariables name=qty_&exact=F] > [math show=f]updateitemnumber=[getchars > start=5][name][/getchars]+[adjustby][/math] > > [showif [value]=0] > [removelineitem file=ShoppingCarts/[cart]&index=[updateitemnumber]] > [math show=f]adjustby=[adjustby]-1[/math] > [/showif] > > [hideif [value]=0] > [setlineitem > file=ShoppingCarts/ > [cart]&db=[db]&index=[updateitemnumber]]quantity=[value][/setlineitem] > [/hideif] > [/formvariables] > > [/showif] > > > > Stuart Tremain ------------------------------------------------------------- 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/ Brian Fries

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:

Need some assistance. (1999) More than one db with the same namn (was: WC2f3) (1997) Problems adding stuff to the shopping cart. (1997) Error.html (1997) My own list archives (2001) Sample Tearoom Search Error (1997) Format question WC Mac f3 (1997) [LOOKUP] (1997) Using WebCat for product info requests (1997) CommandSecurity? (1997) Snake Bites (1997) [cart] not being interpreted inside [founditems] (1997) OT: Need some DVD advice (2006) My solution... (1996) Separate SSL Server (1997) Unix DB Permission Error (2002) WC1.6 to WC2 date formatting (1997) select multiple (1997) [WebDNA] [listallcontexts] ??? (2016) A multi-processor savvy WebCatalog? (1997)