Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

BOOL 

LceCheckFor

(int 

iSession,



 char far * 

strFileName,



 char far * 

strKeyList )

Parameters

iSession

The session identifier as returned by LceGetSessionId.

strFileName

The name of the file. The file used must have been declared using an LceUseFile function.

strKeyList

A list of field names to be used as keys. The key fields must have been declared using the LceUseField function.

...

FALSE is returned if an error occurs or the record does not exist.

Notes

Portability Considerations

An I/O error (Error 37) will result if you provide an empty string for the strKeyList parameter and your host system is a Windows, Linux or other non-IBM i host. If your host system is LANSA on an IBM i, no error will occur but the call will return FALSE.

...

Related Functions

6.71 LceUseFile

6.58 LceSetFieldValue

6.59 LceSetFieldValueU

6.43 LceInsert

6.67 LceUnicodeToHex

6.10 LceDelete