SCRP QUERY SAVE (46)    REMOTE PROCEDURE (8994)

Name Value
NAME SCRP QUERY SAVE
TAG SAVE
ROUTINE SCRPBK2
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC attempts to save the query template definition for
the user. Before saving query, the RPC will validate the query
criteria and report any errors without saving query.

The query template definition must pass the validation
check before it can be saved.
INPUT PARAMETER
  • QUERY DEFINITION
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    DESCRIPTION:   
    This parameter contains the complete definition of the query
    template. The format of the definition data is defined by
    the TScQryDef.BuildQuery method on the client.
    
RETURN PARAMETER DESCRIPTION
Using SCDATA to represent the return array, the following is
the definition of the data being passed back via this RPC:

       SCDATA(0) -> 1 - meaning deletion was successful ^ <new query ien> ^ <1/0 reload client flag(some inappropriate data was stripped during save>

                           --- OR ---
                 -> 0 - meaning errors found ^ <number of errors>
   SCDATA(1...n) -> error text