Bracket notation replaces dot notation, so try: create_test.text = parentApplication.reftables_grid.selectedItem[fieldname];
Tracy Spratt Lariat Services Flex development bandwidth available ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason B Sent: Monday, January 12, 2009 10:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: get selected datagrid dynamically also tried create_test.text = parentApplication.reftables_grid.selecteditem.this[fieldname];