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
- This function performs no communications to the host.
- This function must be executed after the session is opened.
- If the field is currently *SQLNULL, the length will be returned as zero.