Pound signs!
<cfparam name="#client.CustomerCompany#"
default="#qGetCorpInfo.CorporateName#">,
-----Original Message-----
From: Stas Newdel
To: CFTalk
Sent: 28/08/00 1:23 PM
Subject: cfparam question
Hello,
I'm trying to do this:
<cfparam name="client.CustomerCompany"
default="qGetCorpInfo.CorporateName">, and the variable doesn't get set
a
value, it is initialized as blank.
qGetCorpInfo is a query and it does return a record. Basically, I just
want
to use a shorthand for:
<cfif not IsDefined("client.CustomerCompany")>
<cfset client.CustomerCompany = qGetCorpInfo.CorporateName>
</cfif>
which works fine but is more typing :)
Thanks for any tips.
------------------------------------------------------------------------
------
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.
------------------------------------------------------------------------------
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.