DlFieldGet - demographics_library - Latest

Demographics Library Reference for Windows and UNIX

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Demographics Library
Version
Latest
ft:locale
en-US
Product name
Demographics Library
ft:title
Demographics Library Reference for Windows and UNIX
Copyright
2024
First publish date
1994
ft:lastEdition
2025-10-14
ft:lastPublication
2025-10-14T21:16:32.399000
L1_Product_Gateway
L2_Product_Segment
L3_Product_Brand
L4_Investment_Segment
L5_Product_Group
L6_Product_Name

Returns handle for specified field.

Syntax

DlFieldId DlFieldGet (DlFileId hfile, const char *fname)

Arguments

hfile

Handle to file object, as returned by DlFileOpen. Input

*fname

Field name. Input

Return Value

Returns handle to specified field if successful, else NULL.

Notes

DlFieldGet takes a field name and returns the corresponding handle.

See Also

DlFieldGetN

Example

// This code fragment gets a handle for the field called "DMA"
// and then gets short and long field descriptions.

DlFieldId field = DlFieldGet(hFile,"DMA");
char temp[256];
DlFieldGetString(field, "SDESC", (char*)temp, sizeof(temp));
DlFieldGetString(field, "LDESC", (char*)temp, sizeof(temp));