|
Hey, I learned something new today, I thought you needed the @@ in front to extract the value J See test below.
I don’t think there is a limitation on name size, at least I haven’t run into it yet
---Taf--- v_ecommerce[1,Emrgcy Contact Name] = <@VAR NAME="v_ecommerce[1,Emrgcy Contact Name]" SCOPE="request"> <hr> @VARNAMES<br> <@ASSIGN NAME="myvarnames" VALUE="<@VARNAMES SCOPE='request'>"> <@VAR NAME="myvarnames"> <hr>
<TABLE BORDER=0> <TR> <@FOR STOP=<@NUMCOLS ARRAY="v_ecommerce">> <TH>@@v_ecommerce[0, <@CURROW>]</TH> </@FOR> </TR> <@ROWS ARRAY="v_ecommerce"> <TR> <@COLS> <TD> <@COL> </TD> </@COLS> </TR> </@ROWS> </TABLE>
----OutPut-------- v_ecommerce[1,Emrgcy Contact Name] = Elisa Marquez @VARNAMES
Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm Authorized MDaemon Mail Server Reseller http://www.pcforge.com/AltN.htm
-----Original Message-----
I 'm tweaking an eCommerce .TAF in 3.6 to get it ready to port to 5.0 and I'm ready to implement the ability to have column names for my array columns. Right now I have vars like
<@VAR NAME="v_ecommerce[1,22]" SCOPE="domain"> but with the labels inserted from row zero I will have
<@VAR NAME="v_ecommerce[1,commercial_sales_site]" SCOPE="domain">
and I'm wondering if I might end up tripping myself up somewhere if the entire "v_ecommerce[1,commercial_sales_site]" counts as the name of the var and not just the name of the array with the column name not counting. In other words is it
"v_ecommerce" the name of the var?
or
"v_ecommerce[1,commercial_sales_site]" the name of the var?
I'm trying to be sure to stay away from the 31 character limit.
Is the limit longer or shorter or the same in 5.0.x?
Thanks for any info.
Michael Heth Web Information Architect
__________________S E R V E R S M I T H S__________________
http://www.serversmiths.com/
Technology Infrastructure Provider
I N T E R N E T P R E S E N C E S O L U T I O N S
| EWordSmith | LightningSite | Enigma.Engine |
________M A R I N C O U N T Y C A L I F O R N I A________
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf |
- Re: Witango-Talk: CVS Steve Smith
- RE: Witango-Talk:... Ben Johansen
- Re: Witango-Talk:... Bryan Hughes
- Re: Witango-Talk:... Steve Smith
- RE: Witango-Talk:... Ben Johansen
- Re: Witango-Talk:... Atrix Wolfe
- Re: Witango-Talk:... Garth Penglase
- Re: Witango-Talk: CVS John McGowan
- Re: Witango-Talk: CVS Bill Conlon
- Witango-Talk: <@VAR name length iss... ServerSmiths Tango Development
- Re: Witango-Talk: <@VAR name le... Ben Johansen
- Re: Witango-Talk: <@VAR nam... Mike Tyranski
- Re: Witango-Talk: CVS Bill Conlon
- Witango-Talk: cvs Alan Wolfe
- Re: Witango-Talk: cvs John McGowan
- Re: Witango-Talk: cvs Jonah Simpson
- Re: Witango-Talk: cvs Eric Weidl
