Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread In-memory tables
Tue, Jul 29 2008 6:14 PMPermanent Link

"J.R. Marousek"
Trying to use an in-memory table for the first time...

Am I understanding correctly that I use a regular TDBISAMTbl component? That
is what I'm using. I have set the DatabaseName property to "Memory". I have
created a couple of fields. When my app attempts to Open the table, I'm
getting a "Missing table name" error. What do I need to do?

Tue, Jul 29 2008 6:24 PMPermanent Link

"Jeff Cook"
J.R. Marousek wrote:

> Trying to use an in-memory table for the first time...
>
> Am I understanding correctly that I use a regular TDBISAMTbl
> component? That is what I'm using. I have set the DatabaseName
> property to "Memory". I have created a couple of fields. When my app
> attempts to Open the table, I'm getting a "Missing table name" error.
> What do I need to do?

Kia Orana J.R.

You are probably missing the "CreateTable" step.  

Personally I almost invariably use a real disk table to start with as
it is easier to debug stuff if you need to see the intermediate result
is the table.  I then change it to a Memory table once I have
everything going.

Kia Manuia

Jeff

--
Jeff Cook
Aspect Systems Ltd
www.aspect.co.nz
+
Joan and Jeff Cook
The Cooks Oasis
www.cookislandsoasis.com
Tue, Jul 29 2008 6:48 PMPermanent Link

"J.R. Marousek"
> You are probably missing the "CreateTable" step.

Yes, that was it. Got it working... thanks!

Image