Model the app

The Business Application Diagram allows you to model your application graphically.

In this quickstart, you create a form based on a database table and implement the program.

  1. Expand the Applicationflow node and open the appflow.4ba file. This is your Business Application Diagram and shows the flow of your program. You will see there is one Program entity (main) and one Form (form) entity.
  2. Right-click on the Form entity and select Implement CRUD Form from Database to generate a form for the database table that you wish to access. Select all the fields in your table and transfer this selection to the Selected Fields list, which lists the desired fields for your form. Select Finish to accept the defaults from the rest of the wizard prompts.
    Per the default, this form will be organized in a Grid layout.
  3. Save your form to the src directory of your project ($ProjectDir) and in the Entities node of the project.
  4. Return to the appflow.4ba file. Right-click on the Program entity (main) and select Implement Program.
  5. Save the program to the src directory of your project ($ProjectDir) and in the Application program node.
  6. Save the changes to your project.