6.19 LceGetFieldAttributes
Retrieves the field's attributes. These attributes can be used to validate data before it is assigned to the field.
BOOL |
LceGetFieldAttributes |
(int |
iSession, |
|
|
char far * |
strFieldName, |
|
|
unsigned long far * |
pulFlags ) |
Parameters
iSession |
The session identifier as returned by LceGetSessionId. |
strFieldName |
The field name. The field must have been declared using an LceUseField function. |
pulFlags |
Indicates whether certain field attributes apply to the field. This field is treated as a bitmap. If the attribute applies to the field the corresponding bit is set to True (1). Bit 1 – Can the value be *SQLNULL |
Return Values
TRUE is returned if the session has got the field attributes.
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.
Related Functions