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) Job Processes :
How can I get a date range from an input to the heading on an output?
I have a job that includes an input, a query, and an output. The input prompts for a beginning and ending date range, which are stored in work fields. I would like to use the dates in the query to select the proper records and in the output to display the date range in the page heading. The dates are present at the end of the input, but are empty in the query and output processes. How can I get the work fields from the input to the other job steps?
The most common reason that the work fields in the input are not seen by the other steps of the job is the share class of the work variables. The default share class of work fields is Subprocess, while the default invocation type of job steps is Related. Subprocess variables are only visible to the parent process and any children invoked as Subprocess. When the input ends the next step is executed as Related, so any Subprocess variables are no longer visible.

Change the Share Class in the Additional Attributes of the work field(s) in the data dictionary to Related and the fields should become visible to both the query and output.

For more information on invocation type and share class refer to Chapter 1-5; Interprocess Communications in the online APPX Application Design Manual at http://www.appx.com/common/documents/manuals/appx/designer/helpset.htm.

[Append to This Answer]
2003-Nov-18 10:44am
This document is: http://board.appx.com/cgi-bin/fom.cgi?file=135
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.