Re: Variable in a variable
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45953
interpreted = N
texte = Thanks everyone for that. Yes, it works when I change it from a math to atext variable.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Inkblot Media
> Reply-To: (WebCatalog Talk)> Date: Tue, 3 Dec 2002 19:58:27 -0800> To: (WebCatalog Talk)> Subject: Re: Variable in a variable> > This works for me> > [text]start_year=2002[/text]> > [text][START_YEAR]_SALES_1=12.00[/text]> [Format thousands .2f][interpret][[START_YEAR]_SALES_1][/interpret][/Format]> > Try it and let me know if this is what you were looking for.> > > > > ----- Original Message -----> From: Tim Robinson > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 7:28 PM> Subject: Variable in a variable> > >> 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/> -------------------------------------------------------------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:
Thanks everyone for that. Yes, it works when I change it from a math to atext variable.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Inkblot Media > Reply-To: (WebCatalog Talk)> Date: Tue, 3 Dec 2002 19:58:27 -0800> To: (WebCatalog Talk)> Subject: Re: Variable in a variable> > This works for me> > [text]start_year=2002[/text]> > [text][START_YEAR]_SALES_1=12.00[/text]> [Format thousands .2f][interpret][[START_YEAR]_SALES_1][/interpret][/Format]> > Try it and let me know if this is what you were looking for.> > > > > ----- Original Message -----> From: Tim Robinson > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 7:28 PM> Subject: Variable in a variable> > >> 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/> -------------------------------------------------------------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/
Tim Robinson
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:
WebCat2_Mac RETURNs in .db (1997)
WebCat2: Items xx to xx shown, etc. (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Limiting user access to .tmpl files (1997)
includes (2003)
sort problems....bug or brain fart? (1997)
Orders.db problem (2003)
Thanks Grant (1997)
[WebDNA] Secure Cookies (2009)
Search Summary (2005)
Pass Thru Page? (1998)
A two part question (1999)
Nested Includes (2001)
Two submit buttons ? (1997)
Stopping bad HTML propagation ? (1997)
Searching multiple Databases (1997)
First postarg not taking in $Commands (1997)
Storebuilder Quickie (2003)
GuestBook example (1997)
Bug Report, maybe (1997)