The GXquery service layer, known as API, includes all the data types that allow the developer to interact with GXquery at runtime through script code. One of these data types is described below.
GXqueryError data type is used to get the errors, if any.
Is a code number of the message, assigned by GXquery in run-time.
Is the text of the message to be displayed.
&QueryResult = &GXqueryQuery.Execute(&GXqueryRuntimeParameters, &OutputFormatId, &GXqueryExecuteQueryServiceOptions, &Errors)
If &Errors.Count > 0
After the use of the Execute method with success, if the errors count is greater than zero, a message is displayed through the msg command.