you might want
<cfif isdefined(evaluate('CALENDARENDDATE_' &
attributes.SUBSCRIPTIONID))>
or
<cfif evaluate(evaluate('CALENDARENDDATE_' &
attributes.SUBSCRIPTIONID)) IS NOT ''>
depending whether you want to know if it's defined, or if it's the empty
string.
jamie
-----Original Message-----
From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 2:50 PM
To: CF-Talk
Subject: Question on parametising the variables that are generated on
the fly?
Hi,
I am building the variables like this way.
<CFSET variables.calendarenddate = 'CALENDARENDDATE_' &
attributes.SUBSCRIPTIONID>
the variable generated would look like this:
CALENDARENDDATE_12
Actually a variable of this is coming from the previous screen. I
wanted to see whether that variable is null or not.
When I am using:
<CFIF evaluate(variables.calendarenddate) IS NOT ''>
It is giving an error: saying that error in that variable.
I could figure out how to use <cfparam> that variable to give a default
value.
I hope I am clear in asking question.
thanks in advance.
Sudheer Chakka.
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists