v4RB2, DB create/open and subclasses

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Nov 17 10:41:12 CST 2005


On 11/17/05 12:50 AM, "Eric Werner, MD" <gaseous1 at mac.com> wrote:

Hi Eric, 
 
> Using v4RB2 v2.05 and REALbasic 2005, I¹m trying to create or open a
> Valentina database using the ³classes² technique.

> The wrinkle is that I¹m using a subclass of Vdatabase, to which I have added
> a variety of properties and methods (this class is called vDB).

This is okay!

> I create another object, whose super is vDB, named vbScheduler, which
> creates the database tables.

Here is important to call in constructor parent's constructor like do our
exmaples

> Yet another object, whose super is vTable,
> creates the field entries. This is all coded as per the tutorial (and a
> similar project worked flawlessly in VB v1.x)


> When I run this project, an incomplete (db with tables, but without fields)
> database is created on disk.
> 
> What do I need to do differently to get this to work. I have a simple file
> which demonstrates my problem, if you¹d like to see it.

Check db and table constructors

Valentina 2 require from you to call Vdatabase and Vtable's one


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list