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:
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:
RE: Languages (1997)
E-Mail Preferences in Admin Folder (1997)
Max Record length restated as maybe bug (1997)
[OT] ODBC between IIS and remote Access problem (2000)
Re1000001: Setting up shop (1997)
Many $WebCat.exe processes (1998)
Odd request (2003)
2.0.1 new commands and contexts (1997)
[WebDNA] writing pdfs on the fly (Avery labels #5160) (2010)
CommandSecurity? (1997)
Hello world ... (2002)
[SearchString] problem with [search] context (1997)
re:check boxes (1997)
getting URL variable with '%20' in the variable name (2006)
Extracting URL (2007)
allow or deny based on referer.... (1997)
Listserver problem (1997)
Help with database strategy (1998)
Poll Please (2002)
SORRY (1997)