Article Details
Id:21385
Product:finPOWER Connect
Type:NEW
Version:4.01.01
Opened:19/04/2024
Closed:19/04/2024
Released:24/06/2024
Job: J033345

HTML Widgets; Parameters Host Control; "Standard Range" Range Parameters can now have the SQL Where updated by using the UpdateParameters function

Previously, the UpdateParameters(parameters, options) function on the Parameters Host control could only be used to update the SQL Query on a Parameter. This was only useful for Range Parameters which were configured as SQL Queries.

This function now supports updating the SQL Where for Range Parameters which are configured as Standard Ranges.

To support this, the following options can be specified to the function:

  • rangeLookupSql (existing option, indicates if the function should update SQL Query type Parameters).
  • rangeLookupSqlWhere (new option, indicates if the function should update the SQL Where for Standard Range type Parameters).
  • all (new option, equivalent of both rangeLookupSql and rangeLookupSqlWhere being True).