why not copy the form structure to some local struct, modify that, and send
THAT to the custom tag?

Chris Olive,
DOEHRS Website Administrator 

-----Original Message-----
From: Planet CF [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 10:54 AM
To: [EMAIL PROTECTED]
Subject: The FORM structure


Hi,
FORM is a structure in Cold Fusion. All structure
operations can be performed in the FORM structure,
except for StructCopy. 

The following code:

<cfset LocalStruct = StructNew()>
<cfset LocalStruct.Name = "Joe">
<cfset LocalStruct.Company = "Allaire">
<CFSET FORM = StructCopy(LocalStruct)>

does not work....

The exact error message is:
"Cannot assign result to symbol FORM"

Why does it behave like this? One application of
changing the FORM structure would be to use it
directly in CFUPDATE, CFINSERT after modifying it.
Though there are other solutions to this, I would
prefer to change the FORM structure and then send it
to mycustom tag.

Thanks and regards,
Kedar Desai
Differential Technologies
Fairfax, VA



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
----------------------------------------------------------------------------
--
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.

Reply via email to