6 31 LceGetFieldValueH

LANSA Open Guide

6.31 LceGetFieldValueH

Sets the text of the given window handle (hwndValue).

BOOL

LceGetFieldValueH

(int

iSession,

 

 

 char far * 

strFieldName,

 

 

 HWND

hwndValue )

  

Parameters

iSession

The session identifier returned by LceGetSessionId.

strFieldName

The field name.

hwndValue

The handle to a window which will receive the value.

  

Return Values

TRUE is returned if the session has got the field value.

FALSE is returned if an error occurs.

Notes

This function is similar to an LceGetFieldValueX or LceGetFieldValueU except that it allows you to retrieve the value of the field into a window handle value, i.e. a window field.

Refer to the LceGetFieldValueX or LceGetFieldValueU for details of how this function works. The field will be blank if the value is *SQLNULL.

  • LceGetFieldValueH must be executed after the session is opened and data has been retrieved from the host.
  • This function performs no communications to the host.

Related Functions

6.29 LceGetFieldValueX

LceGetFieldValueU