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:
ICVerify problems (2001)
Moving Files (2000)
Emailer [cart] file names (1997)
[OT] Ave. Hits Per Day (2006)
[WebDNA] Non-numbers entered into a field that asks for a number (2008)
2.0 Beta (1997)
WebCatalog for Postcards ? (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Multiple database search q -- Web Catalog 2.1 (2000)
need some help with a loop (1999)
Search as error page (2002)
syntax question, not in online refernce (1997)
[WebDNA] Error 500 with SUMM=T (2017)
WebCat2 several catalogs? (1997)
Re:no [search] with NT (1997)
unsubscribe (2000)
RE: WebCat cannot handle compatible search parameters? (1997)
How do I get Google to crawl a WebCat site? (2003)
Emailer help....! (1997)
[WebDNA] listcookies v Windows 7 (2011)