6.5.6 PD$OPT
Mandatory.
Specify the value that allows the function to decide exactly which pull-down choice was used to cause it to be invoked. The value specified here is placed into field PD$OPT when this pull-down choice is used. The field is accessible to RDML functions.
Rules
- Value specified should be unique within this pull-down, and preferably, within the entire action bar.
- It is an alphanumeric value.
- Do not use values CUR or ALL, as they are reserved to mean "current" and "all" in the SET_ACTION_BAR Built-In Function.
Warnings
- If PD$OPT is not already defined in the Repository, define it as alphanumeric (length 3).
Tips & Techniques
- One RDML function handling multiple pull-down choices can have good performance implications. Refer to the Sample Program: All 3 Functions in One Program in the LANSA Application Design Guide.
- Standards for PD$OPT values should be established.