AlanDI1
Programmer
- Apr 20, 2003
- 56
I have CF module that may or may not be passed a parameter in the URL. I want to check and see it the parameter is there otherwise use a default.
<cfif isDefined("URL.SelectDate") >
<cfset lnSelectCYCYMM = #URL.SelectDate#>
</cfif>
This code produces "This page cannot be displayed" message.
Can anyone tell me how to fix it or another way to check for the existance of the parameter.
Thanks
<cfif isDefined("URL.SelectDate") >
<cfset lnSelectCYCYMM = #URL.SelectDate#>
</cfif>
This code produces "This page cannot be displayed" message.
Can anyone tell me how to fix it or another way to check for the existance of the parameter.
Thanks