Hi Bernd,

Längerich wrote:
"Ingrid" Längerich writes:

The code I tried is like this:

OK, I found out that
      Iterator it = masterbroker.getReportQueryIteratorByQuery(masterquery);
      Collection taids = new Vector();
      while (it.hasNext()) {
        Object obj = ((Object[])it.next())[0];
        taids.add(obj);
      }

is working. Is there a better way to achieve the same result?


I don't know a better way to do this. A report query result is always an object array and you use a ReportQueryIterator, so the ResultSet is only looped once.

regards,
Armin

Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to