ADMINEDITABLE_Search_InsertUpdate

 Show all Hide all

Deprecated.

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".

Type: Stored procedure
Area of use: Editable

Return value: int

Returns a negative value on failure.

Parameters:

@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.

Resultsets:

Resultset: Search ID

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

Columns:

SearchID mandatory int
SearchID of created/updated search.