6.20 LceGetFieldDataLength

Retrieves the data length for the field's current value.

BOOL

LceGetFieldDataLength

(int 

iSession, 

 

 

 char far * 

strFieldName,

 

 

 FLDLEN far * 

pLength )

  

Parameters

iSession

The session identifier as returned by LceGetSessionId.

strFieldName

The field name. The field must have been declared using an LceUseField function.

pLength

Pointer to the variable to receive the field length. This indicates the number of characters or digits.

  

Return Values

TRUE is returned if the session has got the field data length.

FALSE is returned if an error occurs.

Notes

Related Functions

6.27 LceGetFieldType

6.26 LceGetFieldLabel

6.23 LceGetFieldHeading

6.25 LceGetFieldIndicator