Ty Bobby, Mike, & Kym. That helps explain things. I knew my vars were
supposed to be scoped to variables by default which is why I was getting
confused, but the dot notation explanation clarified that one.
Mark
~|
Find out ho
Hi Mark,
you wrote:
>I have this working using session variables, and it's no big deal, but
>there must be another way to do this.
>
>
Cutting the rest short what you are doing is OK as it is one of many
ways to talk to/with a structure (as shown in all of the other replies
to this post) bu
ssion
variables.
-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED]
Sent: Friday, 23 December 2005 1:01 p.m.
To: CF-Talk
Subject: RE: Appending a variable to another variable
You can create a dynamic variable name like so:
And then access it using evaluate():
#eval
To: CF-Talk
Subject: RE: Appending a variable to another variable
You can create a dynamic variable name like so:
And then access it using evaluate():
#evaluate("db_name#i#")#
Thanks Jacob, that works. I do still wonder why it's not
You can create a dynamic variable name like so:
And then access it using evaluate():
#evaluate("db_name#i#")#
Thanks Jacob, that works. I do still wonder why it's not necessary with
session variables.
Mark
~|
Logware (www.l
You can create a dynamic variable name like so:
And then access it using evaluate():
#evaluate("db_name#i#")#
> -Original Message-
> From: Mark Henderson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 22, 2005 3:43 PM
> To: CF-Talk
> Subject: Append
I have this working using session variables, and it's no big deal, but
there must be another way to do this.
Basically, what I want to be able to do is append a counter variable to
an existing variable name. For instance, let's assume the following
truncated working code:
7 matches
Mail list logo