APPX is the Premier Development and Runtime Environment for Business Application Software
(Answer) (Category) FAQ's - APPX Software, Inc. : (Category) APPX Utility : (Category) APPX Development Environment : (Category) Tips & Techniques :
Use of --- DEFAULT MODE
Setting PDF (--- DEFAULT MODE) before invoking an INPUT process, specifies the initial mode of the INPUT process. In addition to setting the desired value into the PDF, you must ...

 1) Ensure that the INPUT process does not specify a "Default Mode" 
   (which it always does)

 2) Ensure that the child spec does not specify an "Override Default Mode"
    (which it normally doesn't)

 3) Invoke the INPUT process with an invocation type of SUBPROCESS.  
    (--- DEFAULT MODE has a share class of SUBPROCESS.)

Think of INPUT Additional Attribute field "Default Mode" as "Initial Mode". Specifying "Default Mode" tells APPX to run the INPUT with that mode as the Initial Mode. APPX then ignores any value you might have set into the PDF.

If a parent INPUT process is running in Inquire or Change mode and you set the PDF to ADD mode before invoking a child INPUT, APPX runs the child INPUT process in Inquire or Change mode instead.

You can control the INPUT process mode by setting the desired mode into --- DEFAULT MODE in the child INPUT's Start of Process.

[Append to This Answer]
2004-Jan-06 4:13pm
Previous: (Answer) How to see a trace of executed process
Next: (Answer) How to determine a leap year!
This document is: http://board.appx.com/cgi-bin/fom.cgi?file=285
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.