Constructors and moving from V4RB 1 => 2

Bill Mounce BillMounce at Comcast.net
Mon Apr 23 15:54:33 CDT 2007


I have been using Valentina for years, starting with an early version  
of x1. Recently I have been going through some of the newer demos,  
and my how some things have changed. This may be obvious, but can  
someone confirm a suspicion?

1. In version 1 we built constructors that defined the database, such  
as:

   // set name of the Table
   name = "FLASH"

   // Make fields of the Table
   dbDifficulty = new VShort( "DIFFICULTY", EVFlag.fIndexed )
   dbType = new VString( "TYPE", 1 )

It now appears that these are not even necessary and that the  
Valentina plugin gains the database definitions from the database  
itself. Correct?

2. If I want to add a field, can I do this from Studio, or do I have  
to do a SQL call to add the field?

Thanks.

Bill


More information about the Valentina mailing list