Don't you want:

Session.Intake.Parent[1].Employer.Address.StreetAddress = "";

to read:

Session.Intake.Guardian[1].Employer.Address.StreetAddress = "";

-----Original Message-----
From: Eric Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 6:01 PM
To: CF-Talk
Subject: Nested Structures and Arrays


I'm encountering something odd, and I'm not sure if it is a bug with the
version of CFServer I'm using or a deeper CF language issue.

I get the error:
        "The member "EMPLOYER.ADDRESS" in dimension 1 of object
"Session.Intake.Parent" cannot be found. Please, modify the member name"

when I try to execute the following script block (with proper locking......)

<cfscript>
        Session.Intake = structnew();
        Session.Intake.URLToken = URLToken;
        Session.Intake.Guardian = arrayNew(1);
        Session.Intake.Guardian[1] = structnew();
        Session.Intake.Guardian[1].Employer = structnew();
        Session.Intake.Guardian[1].Employer.Name = "";
        Session.Intake.Guardian[1].Employer.Address = structnew();

        //Works great till here
        Session.Intake.Parent[1].Employer.Address.StreetAddress = "";
</cfscript>


I'm running PWS on Win98 with a developer's edition of CFServer.

Server Product ColdFusion Server
 Version 4, 0, 0, 0




Eric Gilbert
Developer
Stone Ground Solutions
560 Sutter St., Suite 400
San Francisco, CA 94102
415.252.0600 voice
415.252.0123 fax
www.stoneground.com

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to