At 10:55 AM 9/14/00 , you wrote:
>... creating a form on the fly,
>create session variables like this:
>
><cfloop index="priority_label" list="#fieldnames#">
>...[snip]
></cfloop>
>...
Dynamic variables must be a common problem. I tried coding this as a
variable within a variable and it didn't work.
<CFLOOP INDEX="memberindex" FROM="2" TO="#val(memberloop)#" STEP="1">
Member #memberindex# Name: #Member###memberindex###FirstName#
#Member###memberindex###MiddleName#. #Member###memberindex###LastName#
The compiler gagged on the non-existent "Member" variable (center of second
line before ###) instead of concatenating the variable's three pieces to
read it as something like #Member14FirstName#
So what's the secret syntax, gang? 8-)
Charles A. Lee
http://www.psn.net/~calee
Webmaster, Tucson Computer Society
http://www.aztcs.org
===============================
= For a real sponge cake, =
= borrow all the ingredients. =
===============================
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.