AW: Problem with VBaseObject

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Dec 28 17:36:11 CST 2004


On 12/28/04 4:14 PM, "Tomas Dikk" <t.dikk at se-dd.com> wrote:

> Hi
> thanks for your fast answer!
> ok here some more details!
> important: the DB is created statically with vstudio, i want to use
> it now, from lock.vdb, and not to create it at runtime.

First of all this is not correct step if you going to use classes.
Problem is that ORDER of classes in your code MUST be exactly the same as
order of tables in system tables. It is very easy made mistake. So this is
not good way. We plan add to Vstudio sources generator, then this will be
excellent way.

So if you make in any case your own classes, there is no any problem later
create db by YOUR code!

    mydb = new MyDatabase
    mydb.Create()

This 2 lines of code will create on disk db with all your tables and fields.



-- 
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 mailing list