DeleteForListView() -- Options

Examples


The DeleteForListView() function defined in the syListViewOptionsObj form is used to delete any existing view information that has been saved for a specific list.

Syntax

DeleteForListView(list_dict_ID, list_ID, view_ID)

Parameters

list_dict_ID – An integer specifying the ID of the product that defines the list.

list_ID – An integer specifying the unique ID assigned to the list.

view_ID – An integer specifying the view for which view information is being deleted. Use the constant LIST_PRIMARYVIEWID to indicate the primary view for the list.

Return value

An integer indicating whether the view information was deleted. The constant OKAY indicates the information was deleted. Any other value indicates an error occurred.


Documentation Feedback