1 Methods

Name Description
JQRY_INDEX.getColumnValue(colname) Obtains the current value of a QBE param by the given name.
JQRY_INDEX.getVariableValue(varname) Obtains the current value of a QBE variable by the given name.
JQRY_INDEX.setColumnValue(colname, value) Set the value of a QBE param for the given name.
JQRY_INDEX.setVariableValue(varname, value) Set the value of a QBE variable for the given name.

 
getColumnValue(colname)

Obtains the current value of a QBE param

Settings Parameters:

  • colname: string

    Name of the query parameter to obtain the value. It must be defined with the syntax (tabname.colname)

Return:

  • string

    Current value of the received query parameter.

Example:

Copy
JQRY_INDEX.getColumnValue('ctercero.empcode');

 
getVariableValue(varname)

Obtains the current value of a QBE variable.

Settings Parameters:

  • varname: string

    Name of the variable to obtain the value.

Return:

  • string

    Current value of the received variable.

Example:

Copy
JQRY_INDEX.getVariableValue('EJERCI');

 
setColumnValue(colname, value)

Set the value of a QBE param.

Settings Parameters:

  • colname: string

    Name of the query parameter to set the value. It must be defined with the syntax (tabname.colname)

  • value: string

    Query filtering value

Example:

Copy
JQRY_INDEX.setColumnValue('ctercero.empcode', 'A*');

 
setVariableValue(varname, value)

Set the value of a QBE variable.

Settings Parameters:

  • varname: string

    Name of the variable to set the value.

  • value: string

    Variable filtering value

Example:

Copy
JQRY_INDEX.setVariableValue('EJERCI', 2019);