like this?
fieldCol.text = dataArr[0].FieldName
or you don't know the fieldname?
fieldCol.text = dataArr[0]["{FieldNameVar}"]
________________________________
Von: [email protected] [EMAIL PROTECTED] im Auftrag von Dan Pride
[EMAIL PROTECTED]
Gesendet: Dienstag, 8. Juli 2008 13:49
An: [email protected]
Betreff: [flexcoders] Addressing ArrayCollection Data elements Question
Hi
I am using the create app from database to create an xml interface with a lamp
back end. It works great of course and is a great intro tool.
I am trying to adapt it to pull a single set of values in response to a query
without using a datagrid to catch the data.
I can't for the life of me figure out how to address the elements.
The query is returning zero or one record, and I want to grab the field values
and fill in text fields.
i.e. fieldCol.text = dataArr ????
Thanks
Dan Pride
This board is awesome, and my thanks to all those up here who respond.