NTPSortClearSortOrder ( <ReportHandle> ) -> <ErrorCode>
Description
This command resets the data sort as defined in the report definition. Before setting a new sort order by using NTPSortAddSortOrder, this function has to be used to reset the order defined in the report definition.
Note: The change in the data sort does not effect the report definition.
Declaration for Lotus Script
Declare Function NTPSortClearSortOrder Lib "NTP.DLL" ( ByVal ReportHandle As Long ) As Long
Parameter
<ReportHandle> (LONG)
Report handle, returned by calling NTPInit or NTPInitFromDatabase.
Return value
<ErrorCode> (LONG)
Number of the error encountered (0 = no error)