Difference of fieldType and wFieldType

 

Description of the Fieldtype Structure and Its Components

Description

Fieldtype is a structure that contains 4 bytes of data. It consists of two parts:

  • wFieldType – logical field type (one of the eVisualFieldType values).
  • wLCID – language-culture identifier used to differentiate fields of the same type.

The eVisualFieldType values are described in the corresponding section of the Programmer's Guide.

Fieldtype Structure Diagram

Technical Details

In this case, we consider the number 269221896, which in hexadecimal equals 100C0008. Splitting it into high and low parts, we get:

  • 100C – This indicates the language-culture identifier. Converting it back to decimal, we get 4108, which corresponds to French – Switzerland (fr-CH). A table of possible values can be found here.
  • 0008 – This indicates the field type. In this case, it is the ft_Surname field (surname). The list of possible values is available in the eVisualFieldType section of the Programmer's Guide.

To verify the correctness of the result, you can refer to the wFieldType field. For example:

  • Gender: wFieldType=13.
  • Age: wFieldType=185.
  • Visa number: wFieldType=196.

Note

The full list of eVisualFieldType values and their descriptions is available in the Programmer's Guide.

References

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more