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:
[ShowIf] and empty fields (1997)
Problems w/ heavy use of cart header fields? (1998)
We have Proof (1997)
What am I doing wrong? --GOT IT! (2000)
[WebDNA] Mac Mountain Lion installation (2013)
Deleting Orders (1997)
Shopping Carts (2000)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
process SSI (1998)
PSC recommends what date format yr 2000??? (1997)
empty shopping cart message (1997)
what include am I using! (2005)
Using Plug-In while running 1.6.1 (1997)
WebCat2b13MacPlugIn - more [date] problems (1997)
WC2.0 Memory Requirements (1997)
WCS Newbie question (1997)
PDF mailing labels (2000)
Help needed! (SIMS recommendation) (1998)
Re:quit command on NT (1997)
Need relative path explanation (1997)