Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!apple.com!rmh From: rmh@apple.com (Rick Holzgrafe) Newsgroups: comp.sys.mac.programmer Subject: Re: Question About Lists.... Message-ID: <14272@goofy.Apple.COM> Date: 27 Jun 91 18:14:43 GMT References: <1991Jun24.231936.15327@cis.ohio-state.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 35 In article <1991Jun24.231936.15327@cis.ohio-state.edu> rubin@cis.ohio-state.edu (daniel j rubin) writes: > I want to write a application that will display all the items in a file on > the hard drive using the list manager ( I think ). The database can have > 10000+ records [...] I read that you cannot > create a list with more than 32K of data. True enough, but you don't have to keep all the data in the List Manager's records. By writing a custom LDEF (very easy to do), you can simply keep pointers (or handles, or array indexes, or whatever) in the list, and have your LDEF use the pointers to access and display the real data kept elsewhere. Nevertheless, 10000+ records is really pushing the limits of the List Manager. You could do it if the list contained (say) 16-bit array indexes, but I bet it'll be slow. The List Manager was designed as a simple, standard way to present simple, reasonably small lists; it wasn't intended to be the perfect front end for a major database engine. What the List Manager does isn't that complicated. Consider writing your own solution, tailored to your needs. (And while you're at it, give a little thought to different interfaces altogether. Obviously I don't know the details of your needs, but I for one wouldn't enjoy scrolling through 10000+ records, trying to find the one I want...) Hope this helps. ========================================================================== Rick Holzgrafe | {sun,voder,nsc,mtxinu,dual}!apple!rmh Software Engineer | AppleLink HOLZGRAFE1 rmh@apple.com Apple Computer, Inc. | "All opinions expressed are mine, and do 20525 Mariani Ave. MS: 3-PK | not necessarily represent those of my Cupertino, CA 95014 | employer, Apple Computer Inc."