RAM db created with classes

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Mar 22 11:16:13 CST 2005


On 3/22/05 9:35 AM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

> Hi Ruslan and list,
> 
> To create a DB in RAM (with class), I have:
> 
> - Create a class MyDB
> - Create classes of tables
> 
> - Db = new MyDB ( EVstorageType.kRam)
> 
> But now, when I want to access a table of my db, I have an "Nil Object"
> exception .

Ivan, you can add such test into our test system.
Oliver, please add this to Mantis


> I saw that when we did NOT use the classes, it was necessary to
> indicate also when we created a table that this one was in RAM.
> But with the classes, in the "constructor" method of my table I have:
> 
> - Table1 = new MyTable1
> 
> I cannot put:
> 
> - Table1 = new MyTable1 (evStorage.kRam )
> 
> Is it the problem or I forgot something?

No. 

If db is RAM, then tables in any case can be RAM only.

> (Since a dozen days, I have problems with internet (I cannot make
> downloadings). I was not thus able to make of tests with the quite last
> versions of Valentina.)

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina-beta mailing list