[VCOM] Question: How to get the Field-Type?
blackfin
blackfin at elfenherz.de
Sun Oct 21 09:41:59 CDT 2007
Ruslan Zasukhin schrieb:
> 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.
>
Ok, then I'll wait :) I wish you a nice sunday!
More information about the Valentina
mailing list