For a small number or records like that, I would
suggest as someone else did: create an object, then
load it 40 times into an object list on program load.
Using a database for 40 records is way overkill.

Dave
--- Duży Królik <[EMAIL PROTECTED]> wrote:

> CodeBase is very nice & flexible, but also
> commercial.
> Maybe a good idea is to migrate to SQLite
> (http://www.sqlite.org/) and
> use database located in memory?
> 
> 
> [EMAIL PROTECTED] pisze:
> >
> >
> >
> > Codebase components from http://www.softsand.com/ 
> > <http://www.softsand.com/>
> >
> > A complete suite of dBase components that work
> well under Delphi 5,
> > including "memory sets" which have "populate" and
> "reconcile" methods for
> > transfering to and from disk.
> >
> > Seems to me you can also set up a "memory drive"
> under windows somehow: a
> > virtual drive that is handled by Windows, resident
> either in memory or
> > some swap file. Logically it is a drive, but fort
> constant disk access it
> > eliminates the grinding.
> >
> > > -----Original Message-----
> > > From: [email protected]
> <mailto:delphi-en%40yahoogroups.com> 
> > [mailto:[email protected]
> <mailto:delphi-en%40yahoogroups.com>] On
> > > Behalf Of Fred
> > > Sent: Thursday, May 31, 2007 1:56 PM
> > > To: [email protected]
> <mailto:delphi-en%40yahoogroups.com>
> > > Subject: [delphi-en] Better than dBase (.dbf)
> > >
> > > Hi All,
> > >
> > > Questions:
> > > 1. What is the best database to use in the
> following application?
> > > 2. Could I put the database in RAM memory so the
> hard drive won't be
> > > busy?
> > >
> > > Application:
> > > I build free submarine simulator software for
> teachers to teach math
> > > and science to children. They perform scientific
> and humanitarian
> > > missions only!
> > > The database is dBase (.dbf) with 40 records
> (20k bytes) which hold the
> > > location, speed, depth, course, ... for each
> contact (ships,
> > > submarines, whales, navigarional aids, ...) The
> master math engine
> > > (on CPU 1) updates data once every second, and
> other CPU's (Radar,
> > > Sonar, Ships, Submarines, Aircraft, ...) read
> the data once every 2 to 8
> > > seconds. I can hear CPU 1 hard drive being very
> busy. I use Delphi 5
> > > and 2006. I suspect there is a better database
> for my application than
> > > dBase!
> > > Any thoughts!
> > >
> > >
> > >
> > >
> > >
>
-----------------------------------------------------
> > > Home page:
> http://groups.yahoo.com/group/delphi-en/ 
> > <http://groups.yahoo.com/group/delphi-en/>
> > > To unsubscribe:
> [EMAIL PROTECTED] 
> > <mailto:delphi-en-unsubscribe%40yahoogroups.com>
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >  
> 
> 
> 
> 



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

Reply via email to