I am having a weired problem.

I have a structure "lines"

when I dump that it shows me structure under structure.

when I dump "lines.2" it also shows me the other elements inside that structure.
like 

struct 
ADDRESS  ABC BLVD  
CITY  Toronto  
COMPANY  ABC Company  
COUNTRY  CANADA  
FNAME  My Firstname  
LNAME  My Lastname
STATE  ON  
ZIP  myzip/postal code.

when i try to reference that variable directly like 
#lines[2]['Address']#

it gives me an error.
Element Address is undefined in a CFML structure referenced as part of
an expression.


When I tried 
#lines.2.address#

Element 2.ADDRESS is undefined in LINES. 

can someone point me out where I am wrong in this case?

Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to