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

blackfin blackfin at elfenherz.de
Sun Oct 21 09:12:44 CDT 2007


How to determine the Field-Type in VCOM?

Example:

Cursor := DB.sqlselect('SELECT * FROM T1') ;
Cursor.Firstrecord() ;

Then, when I do a...

FieldType := Cursor.Field(index).type_ ;

...I get an access violation.

I tried Fieldtype for every numeric type (as Integer, TOleNum, Cardinal 
etc ...), but none works, always an access violation.

greetings,

Martin


More information about the Valentina mailing list