Re: Variable in a variable
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45952
interpreted = N
texte = Correction, what Inkblot added, sorry Inkblot :)GK> Adding what Dale did:>> [text]START_YEAR=[date format=%Y][/text]> [text]Sumfield_sale_total=200.00[/text]> [Format thousands .2f][text> show=T][START_YEAR]_SALES_1=[Sumfield_sale_total][/text][/Format]>
> start_year=[START_YEAR]
> Sumfield_sale_total=[Sumfield_sale_total]
> start-year sales total=[interpret][[START_YEAR]_SALES_1][/interpret]
>> GK>>> > I'm trying to name a math variable using an exiting variable[START_YEAR]> > (which is just the year say 2002).> >> > [Format thousands .2f][math show=T][START_YEAR]_SALES_1=[Sum> > field=sale_total][/Math][/Format]> >> > But it doesn't create the variable. When I do a listvariables, it aint> > there, but [start_year} is.....> >> > Any ideas?> >> > Regards,> > Tim> > --> > Tim Robinson> > IDFK Web Developments> > tim@idfk.com.au> > 114a/40 Yeo Street> > Neutral Bay 2089> > Australia> > Phone +612 9908 2134> > Fax +612 9908 4837>>> -------------------------------------------------------------> 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:
Correction, what Inkblot added, sorry Inkblot :)GK> Adding what Dale did:>> [text]START_YEAR=[date format=%Y][/text]> [text]Sumfield_sale_total=200.00[/text]> [Format thousands .2f][text> show=T][START_YEAR]_SALES_1=[Sumfield_sale_total][/text][/Format]>
> start_year=[START_YEAR]
> Sumfield_sale_total=[Sumfield_sale_total]
> start-year sales total=[interpret][[START_YEAR]_SALES_1][/interpret]
>> GK>>> > I'm trying to name a math variable using an exiting variable[START_YEAR]> > (which is just the year say 2002).> >> > [Format thousands .2f][math show=T][START_YEAR]_SALES_1=[Sum> > field=sale_total][/Math][/Format]> >> > But it doesn't create the variable. When I do a listvariables, it aint> > there, but [start_year} is.....> >> > Any ideas?> >> > Regards,> > Tim> > --> > Tim Robinson> > IDFK Web Developments> > tim@idfk.com.au> > 114a/40 Yeo Street> > Neutral Bay 2089> > Australia> > Phone +612 9908 2134> > Fax +612 9908 4837>>> -------------------------------------------------------------> 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/
Gary Krockover
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:
[SearchString] (1998)
Emailer update for Mac? (1998)
Updating a database once per day - An example (1998)
OT: How to find out who owns an IP address (2001)
WebCat2final1 crashes (1997)
Special delete ... (1997)
showif and cart (1997)
Location of Browser Info.txt file (1997)
WCS Newbie question (1997)
emailer error -108 (1997)
[WebDNA] Upper ASCII and charset [OT] (2016)
Mac Lockup Problems (1998)
[WebDNA] WebDNA crash and now emailer not working (2009)
[WebDNA] CICADA (2009)
math on date? (1997)
WebCatalog for Postcards ? (1997)
thisurl & arguments (2000)
Emailer (1997)
Calculating multiple shipping... (1997)
WebCatalog 2.1b4/Mac available (1997)