« [Tip] Target an error fast | Main | [Tip] i18n localization example »
February 25, 2005
[Tip] Looping through records fast
Do you know what the fastest way of looping through records is?for(var i=1; i<=foundset.getSize(); i++)
{
var record = foundset.getRecord(i);
record.dataprovider = XXXXX; // for example: record.companyname = 'company: ' + companyname
}
This way the gui won't change and looping is done in the background. Rapido!
| Posted by David Workman on February 25, 2005 at 02:20 PM in Tips | Permalink
TrackBack
TrackBack URL for this entry:
http://www.typepad.com/t/trackback/118167/1907688
Listed below are links to weblogs that reference [Tip] Looping through records fast: