strValue = spaces(FIELD_DATA_SIZE + 1)iValue = 0lFlags = 0IF LceGetDefaultValueX(iSession, "EMPNO", strValue, lFlags) IF NOT lFlags = 1 iValue = ConvertStringToInteger (strValue) ENDIFELSE / return error /ENDIF