Subject | Re: [ib-support] getting field type |
---|---|
Author | Woody (TMW) |
Post date | 2003-05-01T16:34:55Z |
> HiYou should actually use the Borland newsgroups to ask IBX questions.
>
> I have been able to get all the table names in a DB using
> (interBaseExpress):
>
> .GetTableNames
>
> Also for each table I can get the fields using:
>
> .GetFieldName
>
> But how can I get the field type (Varchar, INteger, etc)
>
However, in general, for any dataset in Delphi, use the FieldKind property
of the specific field to get the type of data it contains. If you want a
more accurate view of data types, you will need to read the system tables.
Woody (TMW)
"Start every day off with a smile and get it over with."
-- W. C. Fields