We  develop Enterprise Portal fo our client. THe
problem is that the web form opens with a big amount
of records and calculations and  we need to perform
some additional calculations based on filtered
records.
Has anybody had an experience on the performance? what
works faster:
initialize query from webform's datasorce and run thru
the recods by Query run object:
q = someTable_ds.query();
qR = new QUeryRun( q);
while (qr.next())
{
//desired calculations
}

or do it in this manner:
sometable = sometabe_ds.getFirst()
while(sometable)
{
//desired calculation
sometable = sometable_ds.getnext();
}

Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446


           
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/





Yahoo! Groups Links

Reply via email to