All I meant was that TClientData set doesn't require that any additional VCL
components be installed.
Sean Christopher Roberts,
M.A.http://www.linkedin.com/in/seancroberts-------------------------------------\
---------------------------XFX nForce 680i LT SLI Socket 775 | Intel Core 2 Duo
E6750 OC: 1600 FSB @ 3.2 GHz | 4 x OCZ SLI 1024MB PC6400 DDR2 800MHz | XION 600w
PSU | CM Stacker STC-T01 Case | Sony GDM-W900 24" CRT Monitor | EVGA GeForce
9800 GX2 OC: 675/1100 | WD SATA 74 GB Raptor (boot/system), WD SATA 120 GB
(applications), WD SATA 500 GB (storage) | Windows Vista Business 64-Bit |
Patient and supportive significant other
To:
memtable@...:
dkeith2@...: Wed, 10 Dec 2008
15:33:05 +0000Subject: [memtable] Re: Pb with TkbMemTable when migrating from
Delphi5 to Delphi7
--- In
memtable@yahoogroups.com, "herveroy13" <herveroy@...> wrote:>> hello
everybody,> I have a Pb with TkbMemTable when migrating from Delphi5 to
Delphi7.> Compiling is Ok but an error occurs when running. > > Format not
specified> > It occurs on an instruction :
MmTbl.LoadFromFile(MmTbl.PersistentFile);> where persistent file is a .txt file>
This instruction was correct on Delphi 5.> > Where is the pb ?> > Hervé> >
Thx>Herve -Sean was right about using a separate format component, a
kbmCSVStreamFormat class. Kim separated the file I/O logic from the memtable
several years ago. It basically works the same way, but makes the property page
smaller/less complex on the memtable. Instead of specifying the import file
properties on the memtable, you specify them on a kbmCSVStreamFormat class. Then
you assign the kbmCSVStreamFormat class to your kbmMemTable's DefaultFormat
property. Since you are performing the same basic tasks, converting your
kbmMemTable code to the newer format should be relatively painless.As for
TClientDataSet being 'native' to delphi, I'm not sure what Sean was talking
about. TkbmMemTable is as 'native' to delphi as it gets, being composed of 100%
delphi code. Incidentally, kbmMemTable has much better performance than
tclientdataset, is more stable, is thread safe etc. It is a VAST improvement
over TClientDataset, and is completely 'native' to delphi.David Keith
_________________________________________________________________
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_12200\
8
[Non-text portions of this message have been removed]