|Contents:||Main||Chapter||See Also:||Getting Started Manual||Advanced User Manual|
The DDSSTACK variable can be set only in the Branching Logic property of a field. It can be used to branch users to another page when they press the Enter/Return key at the field. After the user closes the page defined in DDSSTACK, ScreenMan takes the user to the parent page, to the field immediately following the field from which the branch occurred.
Set DDSSTACK equal to a Page Number or Page Name. For example:
S:X="Y" DDSSTACK="Page 1.1"
would take the user to Page 1.1 if the internal value of the field is "Y" and the user presses the Enter/Return key at the field. When Page 1.1 is closed, the user returns to the parent page, to the field immediately following the field that contained the Branching Logic.
Note that ScreenMan provides another way to achieve this kind of "branch and return" behavior. You can link a field to a subpage by defining a Subpage Link for the field or by defining a Parent Field for the subpage. The Subpage Link and Parent Field methods, however, do not allow branching conditionally.
Reviewed/Updated: March 4, 2007