Implement the program and form

Implement the program and form that you placed on the Business Application diagram.

  1. Right-click on the Program entity and select Implement Program. In the Save As dialog, assign a name for the program file and save it under the Application node. This file has a 4prg extension and is used to generate the source code for the main function.
  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 the officestore database and the account table. Use the right arrow to add the first ten fields to the Selected Fields list.

    Figure: New Form from Database wizard Column selection


    This figure is a screenshot of New Form from Database wizard Column selection.
  3. Click Finish
  4. Save the form (4fdm) to the project structure under the Application node.

    Figure: Projects Structure view


    This figure is a screenshot of the Projects Structure view.

    You now have two documents open; the Application Diagram (4ba) and the Form Definition (4fdm). The Project includes these new files.

  5. Select File > Save all.