Find Field

3270 5250 VT
Yes Yes Yes
The Find Field function returns to the client the information of the field specified by the Set Presentation Space Service Condition function.
Note:
The client must set the PS position by using the Set Presentation Service Condition function before using this function.
The client sends this following message to receive the field information.
PostMessage( hServerWnd,
             WM_DDE_REQUEST,
             hClientWnd,
             MAKELONG(cfFormat, aFIELD) );
where:
cfFormat Identifies the format for the field information. This must be CF_DSPTEXT.
aFIELD Identifies field data item.
The Find Field function supports a new format like Visual Basic. Using the new format, the Find Field function can find a field with specifying its type. The new format is:
FIELD (pos, type)
pos Position where Personal Communications starts to search a target field.
type Target field type. The field type are:
Type Meaning
blank space characterblank space character or Tblank space character This field.
Pblank space character The previous field, either protected or unprotected.
Nblank space character The next field, either protected or unprotected.
NP The next protected field.
NU The next unprotected field.
PP The previous protected field.
PU The previous unprotected field.
Note:
The blank space character symbol represents a required blank.