How to add a table ?
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Feb 11 15:56:04 CST 2005
On 2/11/05 3:19 PM, "Thierry Nauze" <ohmitou at wanadoo.fr> wrote:
Hi Thierry,
> I work with RB4 1.x :
>
>
> I have a class : VDatavase.
>
> For example,
> mIndividus = new boIndividus
> mNoms = new boNoms
>
> I want to add a table :
> table=tmpDB.CreateBaseObject("temporaire")
> champ=tmpDB.BaseObject("temporaire").CreateField("nTemp",kv_TypeUMedium)
>
> It's OK ...
> But, during the creation of a new base, it is necessary to update it.
>
> And it is not possible for me to use of expression as:
> db.mTemporaire.nTemp.value=78
> Etc...
>
> Is it possible to add a table so as to have :
> mIndividus = new boIndividus
> mNoms = new boNoms
> mTemporaires = new boTempraire
> in the definition of my VDatabase ?
Yes it is possible
You can check example of V4RB "Upgrade Schema".
--
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