Author Topic: How get listy of FieldDatatype  (Read 292 times)

eldonfsr

  • Hero Member
  • *****
  • Posts: 613
How get listy of FieldDatatype
« on: August 08, 2026, 02:31:16 am »
Hi o lookimg on TypInfo file for
    FieldTypeNames array i don't found

just what looking is get list of FieldDataType

 FieldTypeNames[Fields.DataType] this going get type if field type of sending dataoffield but i

need to create a array of listoftypes, how i can get that please help me...



 

dsiders

  • Hero Member
  • *****
  • Posts: 1694
Re: How get listy of FieldDatatype
« Reply #1 on: August 08, 2026, 03:34:42 am »
Hi o lookimg on TypInfo file for
    FieldTypeNames array i don't found

just what looking is get list of FieldDataType

 FieldTypeNames[Fields.DataType] this going get type if field type of sending dataoffield but i

need to create a array of listoftypes, how i can get that please help me...

Have a look at DB.FieldTypeNames. Or, you can use GetEnumCount / GetEnumName to build your own list.

Aruna

  • Hero Member
  • *****
  • Posts: 824
Re: How get listy of FieldDatatype
« Reply #2 on: August 08, 2026, 04:02:16 pm »
Hi o lookimg on TypInfo file for
    FieldTypeNames array i don't found

just what looking is get list of FieldDataType

 FieldTypeNames[Fields.DataType] this going get type if field type of sending dataoffield but i

need to create a array of listoftypes, how i can get that please help me...

The attached zip file has a working demo. Screenshot shows what to expect. 

The DB unit as @dsiders suggested can be found here

Sections of interest to you are:
1 - TFieldType
2 - FieldTypeNames
« Last Edit: August 08, 2026, 04:19:29 pm by Aruna »

eldonfsr

  • Hero Member
  • *****
  • Posts: 613
Re: How get listy of FieldDatatype
« Reply #3 on: August 10, 2026, 06:19:37 pm »
Thanks for your help

 

TinyPortal © 2005-2018