UserMethodSelected

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean UserMethodSelected( SalNumber nWhat, SalString sMethod )

The UserMethodSelected method calls the UserMethod method once for each selected row in a table object.

Parameters

Name Description
SalNumber nWhat Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType. This parameter will be passed on the UserMethod function.
SalString sMethod Name of user method to execute. This parameter will be passed on to the UserMethod function.

Returns

When nWhat = Const.METHOD_Inquire: the return value is TRUE if UserMethod returns TRUE for all selected rows, FALSE otherwise.

Comments

UserMethodSelected will process all selected rows from top (lower row number) to bottom. If at any time, UserMethod returns FALSE, the processing is immediately aborted and UserMethod will NOT be called for any remaining rows.