Select to view content in your preferred language

Deferred list

2039
2
03-09-2012 01:44 AM
demdeberanz
Emerging Contributor
Hi everybody,
  I'm running multiple queries in quick sequence, to get all the results at the same time I'm using a deferred list on wich permorm all the next elaboration.
I need to associate to every query result a number that I get at the invocation of the queryTask.execute()...
How can I do this?

Thank you everybody.
0 Kudos
2 Replies
nicogis
MVP Alum
0 Kudos
JeffPace
MVP Alum
I take a different (simpilier) approach, that may or may not work for you.  Instead of trying to combine the results, I let them come in individually, and then just append them to a results block.  That way if one result comes back quickly it is displayed immediately, and if a query takes a long time the results just show up whenever its done.
0 Kudos