CL Command Reference - FNDKEYOND

CL Command List > FNDKEYOND Reference

Description:

The Find Key for OnDemand (FNDKEYOND) command allows you to search for a particular document that is available through the folder specified in the FOLDER parameter. The OnDemand client is launched to view the results of the search. The key fields entered must exist in the folder. This command is intended as an API to launch the OnDemand client from a ¡ågreen screen¡å application.


Examples:

Example 1: Simple Example

FNDKEYOND FOLDER(CHECKSTMTS) KEYFLD((¡¯Account Number¡¯ *EQ ¡¯251000022¡¯)

This command allows you to search for a particular OnDemand Common Server document that is available through the CHECKSTMTS folder. If the OnDemand Client launch environment is set up on your workstation and you are logged on to the client ¡ålistener¡å program, then the OnDemand Client displays the results of the search. The key field name that you enter (Account Number) must be defined in the OnDemand Common Server folder definition. (This command is intended as an API to launch the OnDemand Client from a green screen application.)



Example 2: More Complex Example

FNDKEYOND FOLDER(CHECKSTMTS)
KEYFLD((¡¯Account Number¡¯ *EQ ¡¯251000022¡¯)
(¡¯Document Date¡¯ *BETWEEN ¡¯06/16/88¡¯ ¡¯08/16/02¡¯))

This command is similar to Example 1 but shows the use of more than one key field/value and the *BETWEEN operator. Multiple key fields and values can be specified, and a variety of operators are available with this command.