Creating new fields in classes way Re: Telling tables what their fields are

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Dec 2 09:33:39 CST 2005


On 11/28/05 9:35 AM, "Ed Kleban" <Ed at Kleban.com> wrote:

> Is there any reason I can't use methods such as CreateShortField or
> CreateVarCharField to add additional fields after a table has been created
> when using the Classes way?

> I.e. instead of including the following line in the Table constructor...
> 
>   fSpanLen = new VULong( "FSpanLen" )
 
> ... simply create only some fields in the constructor and leave some field
> variables such as fSpanLen equal to nil...  then much later, when needed,
> come along and call...
> 
>     fSpanLen = myTable.CreateULongField( "FSpanLen" )

I have never try 
 
CreateXXXX is direct command to EXISTED and OPENED db. I think


> -----
> 
> If I do this, then presumably when fSpanLen is created it will have the same
> number of records as all other fields of myTable, and the fSpanLen field
> value for each row will be initialzed to 0 (SetBlank) when the column is
> created, correct?

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