IsDefined()? I'd give that a try.
... isdefined("QGetProjects.PROJ_NAME[R]") ...
-----Original Message-----
From: Bruce, Rodney S HQISEC/Veridian IT Services
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 12:03 AM
To: CF-Talk
Subject: Isdefined Issue
HI all
Can't figue out why I am getting this error:
Parameter 1 of function IsDefined which is now "QGetProjects.PROJ_NAME[2]"
must be a syntactically valid variable name
It is used in this if statement:
<CFSET R = Records +1>
<CFIF isdefined("QGetProjects.PROJ_NAME[#R#]") and
(QGetProjects.PROJ_NAME[Records] EQ QGetProjects.PROJ_NAME[Records+1])>
If I take out the isdefined all works until I hit a record that is not
defined.
QGetProjects is a query.
I can:
<CFOUTPUT>
#QGetProjects.Proj_Name[2]#
</CFOUTPUT>
So the variable is valid.
I am using CF 5
Anyone know this issue??
Thanks for any help
Rodney
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

