I send a sql query to middlewear that sends me information back in xml
form.  Then I try to declare an array collection, such as

try{
        userList = event.result.sql_results.result_set.rows.row;
      }catch(err:Error){
    userSelect.dataProvider='None';
    return;
        }

However when I get back only one result it goes to the catch statement
and does not display the one result.  However with 2 or more or 0 the
statement works perfectly.
Is there something i'm missing or something I should change with my
try statement.  I tried to assign it to a stringbut the problem is
usually i'm returning more than one result. 
Any help would be appreciated.

userList is an array collection
userSelect is a datagrid





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to