Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/ugub_40053.htm]
You are here:

...

When

...

When you create a new RDML function and specify a new function type of 1 (Generate from an Application Template) then the Application Template Facility will be invoked.
The Application Template Facility will initially place a "pop-up" window over the lower portion of the screen that you are currently using.

 
 DC@P301001                 Define New Function                        
                                                                       
 Process  : CUSTOMERS  Work with Customers                             
                                                                       
 New function name     : CUST01                                        
 Description           : Enter Details of New Customers                
                                                                       
 New function type     : 1 1. Generate from an Application Template    
                                                                       
 ................................................................... 
 : DC@P309601          Application Template Selection              : 
 :                                                                 : 
 : Place cursor on same line as required template and press ENTER  : 
 : Template    Application Template Description                    : 
 :  ADD01      Data entry application - style 1 (simple)           : 
 :  ADD02      Data entry application - style 2 (with confirmation): 
 :  ADD03      Data entry application - style 3 (batched input)    : 
 :  BROWSE01   Browse data - style 1 (simple 

 single file)        : 
 :  BROWSE02   Browse data - style 2 (simple 

 multi-file)         : 
 :  INQUIRE01  Simple inquire - style 1 (flat screen display)      : 
 :  INQUIRE02  Simple inquire - style 2 (with browse area as well) : 
 :                                                        More ... : 
 :Enter Fnn=Help Fnn=Exit Fnn=Cancel Fnn=Msgs Fnn=ChgSeq Fnn=Filter: 
 :.................................................................: 
 
 

 |
This pop up window is displaying a list of available Application Templates. From this pop up window you can elect to:

...

  • Make extensive use of the HELP function key and take your time. When using a template for the first time, read all the HELP panels associated with the template, especially the examples. Get a good idea of what the template will do and what the template won't do before you use it.
  • Most templates work using a "question and answer" session. So after selecting a template to be used, a question will most likely appear in the pop up window area.
  • If no question appears, and the "Process Definition Menu" is re-displayed, you can assume that the template has generated your RDML program without having to ask you any questions at all. Some very simple templates work this way (e.g.: the one that generates a basic program layout).
  • When a question appears, read the question very carefully,   then read any additional prompting information very carefully, and finally, if you still have any doubts use the HELP function key.
  • Follow instructions to the letter. The concept of an application template is to generate RDML programs for you in a very quick and very consistent matter. The generalized nature of the Application Template facility and its ability to be site definable, mean that absolutely precise validation of your answers is often not practicable. Incorrect answers will cause no real problems, other than to cause RDML code that will either not compile, or not execute correctly, to be generated. This is not a real problem, but it means that you will most probably have to then fix it by manual editing of the RDML code.
  • Most templates allow you to "back up" to a previously answered question and change your answer. To do this use the Cancel function key. Do not do this if the prompt indicates you should not do it.

...