Back Forward Declare OnChange rules
Completing the New or Save As form

  1. About 
  2. New 
  3. OnChange Properties 
  4. Pages & Classes 
  5. History 
  6. More... 

Create a Declare OnChange rule by selecting Declare OnChange from the Decision category.

A Declare OnChange rule has two key parts:

Field

Description

Applies To

SmartPromptSelect a class for this rule. At runtime, a clipboard page of this class must be a top-level page. The properties to be watched may be in this class (or in the class of an embedded page).

Note You cannot use a Rule-Declare-* class or any ancestor of the Rule-Declare- class (including @baseclass) here. You cannot use a class derived from the Code- or Embed- class here.

Purpose

Enter a unique name for this OnChange rule within the class. Begin the name with a letter and use only alphanumeric, ampersand, and dash characters.

No other rules explicitly reference this Purpose value. However, because of normal class inheritance, a Declare OnChange rule named OutofStock at one level in the class structure may override (and so prevent execution of) a Declare OnChange rule named OutofStock at a higher level in the class structure.

For general information on the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.

Rule resolution

When searching for Declare OnChange rules, the system:

Time-qualified and circumstance-qualified rule resolution features are not available for Declare OnChange rules.

Up About Declare OnChange rules