[VCOM] Question: How to get the Field-Type?

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Oct 21 09:36:14 CDT 2007


On 21/10/07 5:23 PM, "blackfin" <blackfin at elfenherz.de> wrote:

>>> I tried Fieldtype for every numeric type (as Integer, TOleNum, Cardinal
>>> etc ...), but none works, always an access violation.
>> 
>> Try split it on 2 lines:
>> 
>>     fld := Cursor.Field(index)
>> 
>>     FieldType := fld.type_ ;
>> 
>> And see if fld is not nil before you call .type
>> 
>> 
> 
> Ok, tried. Does not work either.
> It is NOT nil but a Vfield, I also successfully fill a Grid View with
> the field.name(s) and field.value(s), but when accessing field.type_, I
> get this access violation.

Then we need help of Kiril.

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