How to add a table ?

Thierry Nauze ohmitou at wanadoo.fr
Fri Feb 11 17:19:16 CST 2005


Hi, 

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 ?


Regards


-- 
Thierry Nauze               Saint-Denis de la Réunion





More information about the Valentina mailing list