Hi David, hmm, too bad it's not working. Here's an example of a running app using that code as the original base:
http://labs.searchcoders.com/dashboard/dashboard_latest.air what might help is to return a "result set", which includes: total size of result items: array of results that way you can tell the grid how many rows it actually contains and then just use matt's strategy to grab the missing pieces as they are requested. sorting is tricky, and i've never been able to solve it satisfactorily. best of luck /r http://www.searchcoders.com/ On Wed, May 7, 2008 at 2:43 PM, David C. Moody <[EMAIL PROTECTED]> wrote: > I found Matt's example and was able to get it working somewhat. But > with such a large database, after about the 2nd or third trip to the > database, the control gets messed up. > > Then each time you touch the slider in the down direction it goes > back to the database. I think I'll continue to work with this some, > but don't know that its exactly what I want and/or need. > > --- In [email protected], "Robert Cadena" > <[EMAIL PROTECTED]> wrote: > > > > Hi David, > > > > Page your dataset. > > > > Matt Chotin had a good blog post with code that you can get started > with. > > Kind of old but you can modify it a bit to suit your needs: > > > > > http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets > .html<http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets.html> > > > > > > /r > > http://www.searchcoders.com/ > > > > > > > > > > On Wed, May 7, 2008 at 9:44 AM, David C. Moody <[EMAIL PROTECTED]> > > wrote: > > > > > What is the best way to handle a large dataset?? I'm using > AMFPHP. I > > > need to display a datagrid that the user can then use to choose an > > > entry to work on. > > > > > > The problem is this database has approximately 35,000 entries in > it. > > > > > > I keep getting memory size exhausted errors from PHP. > > > > > > So I need a way to load the datagrid dynamically or page the > datagrid. > > > > > > Any help will be greatly appreciated! > > > > > > Thanks, > > > -David > > > > > > > > > ------------------------------------ > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > Groups > > > Links > > > > > > > > > > > > > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >

