Related Information
See Chapter 9, "Data Field Processing Options," for information on controlling how data fields are processed during application execution: field display options, data conversion, data validation, and range setting.
A number of tutorial programs demonstrate the different field types and their options. You should look at the source code for each tutorial, then compile and run it.
- nfld_char.c shows a string, a character, and three Boolean fields, including one Boolean toggle field. dfld_char.c is the Designer version.
- nfld_date.c shows several date fields, each using a different date format. dfld_date.c is the Designer version.
- nfld_time.c shows several time fields, each using a different time format. dfld_time.c is the Designer version.
- nfld_num.c shows the use of integer fields, decimal fields with both soft and hard coded decimal points, and a double-precision floating point field using scientific notation. dfld_num.c is the Designer version.
- nfld_butn.c shows how to create and use check boxes. dfld_butn.c is the Designer version.
A convenient table that summarizes the information contained in this chapter is located in the "Tables and Structures" section of the Function Reference.