Build and execute

  1. To build a generated application, right-click the Program entity on the BA diagram (4ba) and select Build Program from the context menu. Alternatively, right-click the Application node in the project and select Build. The results of the build are displayed in the Output view.
    To better understand what is happening during the build of the program, turn on verbose mode using Tools >> Preferences, Compiler and Runtime, Compilation Configuration. The generated and compiled files will be stored in the path specified in the Target Directory property of the Group node in the project.
  2. To execute a generated application, right-click the Program entity in the BA Diagram (4ba) and select Execute Program. Alternatively, right-click the Application node in the project and select Execute.
    Toolbar icons for a program's default actions will be generated, depending on the properties selected for the module's screen records and the fields on the form. The necessary business logic was created in the generated BDL files (4gl) to implement the relevant actions. See Define functionalities on a record.

    This figure is a screenshot of the application running with the Form1 form displayed.

    Figure 1. A running generated application