7. Defining Frames without Visual Queries : Define a User Frame : Create and Edit the 4GL Code and Form
 
Share this page                  
Create and Edit the 4GL Code and Form
You can create or edit the 4GL source code file for a User frame directly from Vision. You also can call VIFRED to create or edit the form for a User frame.
You can create the source code file and form at any time before you run the frame.
To create or edit the 4GL code or form for a User frame
1. Select the frame as the current frame in the Application Flow Diagram.
2. Select Edit from the menu.
3. Select the appropriate frame component:
Data Entry Form to edit the form
Source Code File to open the source code file.
Use VIFRED to edit the form or the system editor to edit the 4GL source code. Be sure to save any changes that you make.
If you are working with a new User frame, Vision lets you create the new frame component based on your selection as follows:
If you selected Data Entry Form, Vision calls VIFRED and displays the Creating a Form window. See Character-based Querying and Reporting Tools User Guide for more information about creating forms in VIFRED.
If you selected Source Code File, Vision calls the system editor and opens a blank file in which you can write the 4GL source code for the frame.
4. To return to the Application Flow Diagram:
Select End from VIFRED.
Exit from the source code file.