Thanks for helping on this - my butt is on the line! YES - the WS is 
sending back result type of Object.

You can respond to [EMAIL PROTECTED] if you prefer.


Thanks,

-Dave

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> What is your result type? Object(default), xml 
(resultFormat="xml").  If
> you think it is an array of objects (the best case), then in your 
result
> handler, run a test like this:
> 
> for ( i:Number=0;i<result.length;i++){
>       trace(result[i].someObjectpropertyName)
> }
> Do you see what you expect?  If so, I'll write a quick example 
that will
> use two such arrays of objects to build a third suitable for a
> dataProvider.
> Tracy
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Dave
> Sent: Thursday, April 28, 2005 10:03 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Multiple dataProviders for 1 dataGrid??
> 
> Sorry but I'm not very familiar with AS - can you give me an 
example 
> and/or pointers?
> 
> Thanks,
> 
> -Dave
> 
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
> wrote:
> > I think you will need to programmatically combine the two 
results 
> into a
> > new dataProvider.
> > 
> > This is not difficult in AS, but the details depend on the 
result 
> type.
> > 
> > Tracy
> > 
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Dave
> > Sent: Tuesday, April 26, 2005 4:13 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Multiple dataProviders for 1 dataGrid??
> > 
> > 
> > 
> > Accessing a web service, in one dataGrid I have a column that 
> displays 
> > the account balance (TOTALBAL) per product.as of current date. 
> Another 
> > column in the same dataGrid displays the account balance 
> (TOTALBAL) 
> > but for the date 12/31/2004. I can't figure out a solution since 
> > column names can't be identical.
> > 
> > I duplicate the web service so that I have service1 and 
service2 - 
> > where I pass the 12/31/2004 date to service2. So TOTALBAL for 
> service1 
> > corresponds with current day and TOTALBAL for service2 
corresponds 
> > with 12/31/2004.
> > 
> > Any ideas on how to render this data within the same dataGrid? 
> Please 
> > help ASAP.
> > 
> > Thanks,
> > 
> > -Dave 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
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