6 17 2 C Example

LANSA Open Guide

6.17.2 C Example

BOOL          fOK;

int           iSession;

char          strSurname[FIELD_DATA_SIZE + 1];

unsigned long ulFlags;

 

fOK = LceGetDefaultValueX(iSession, "SURNAME", (char far *) strSurname, &ulFlags);