Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This particular script describes three selection steps through a dataset, 
"Ship type" (represented by the data connected to parameter SHIPTYPE$parameter SHIPTYPE$), 
"Order number" (represented by the data connected to parameter PROJECT$) and 
"Loading condition" (represented by the data connected to parameter CONDITION$).

...

The line "HullForm$" "" in the script tells the system that at least a DETERMINED value of HullForm$ should be available to allow selection of a case. This means, that the result of the selection cannot be empty values for HullForm$, therefor Quaestor will pre-filter all these cases out of the total dataset. The selection of HULLDATA# will contain all other DETERMINEDvalues available in the selected record. Also SHIPTYPE$Also SHIPTYPE$, PROJECT$ and CONDITION$ should be DETERMINED (thus available) to allow a selection.

...

For instance when the ship type is already defined earlier in the solution, or is available as starting data in the dataset, you can add the relation HULLDATA# = QUERY#(0, SHIPTYPE$) to make sure that OPTION1 already uses the value for SHIPTYPE$for SHIPTYPE$.

Example 2, Use data in the data slot of the parameter with |OPTIONS| script:

...