Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Stored procedure

From version 5.4.019 this editable procedure will not be called automatically. Instead of using it, you write your own procedure and put the name of the procedure in the application variable "SavedSearchInsertUpdateProcedure".

Return value: int

Returns a negative value on failure.


@force optional bit
If your procedure uses ADMIN_FORCE, this bit is true after the user has clicked OK.
@id mandatory int
Search ID.
@MenuItemID mandatory int
@SaveasNewSearch mandatory bit
If 1 and @id is not null then the user wants a copy of an existing search.
@SearchGroupID mandatory int
@SearchName mandatory varchar(300)
@UserID mandatory int
User saving search.


Resultset: Search ID

The plattform needs a search ID so it can save the search's parameters.
Table count:
Row count:


SearchID mandatory int
SearchID of created/updated search.