Create a database-aware form

You can create a form from a database using a wizard to select the schema, columns and container from which to build a new form.

Before you begin, confirm that you have added the meta-schema file to your project.

To be able to add database-aware controls to a form, the databaseName property of the form must be set.

  1. Select File > New and select a category:
    Category Description
    Genero BAM Desktop Select this category if you are working on a project involving a BAM-generated desktop application.
    Genero BAM Mobile Select this category if you are working on a project involving a BAM-generated mobile application.
    Genero Select this category if you are working on a project that does not use the Business Application Modeler.
  2. Select the form to create. The types of forms available depend on the category selected.
    If the category is ... The forms from database options include ...
    Genero BAM Desktop
    • CRUD form from Database (.4fdm)
    • Zoom form from Database (.4fdz)
    • Custom form from Database (.4fdc)

    In addition, you can create forms when adding a SOAP or JSON Web service. See Add Web services.

    Genero BAM Mobile
    • CRUD form from Database (.4fdm)
    • Zoom form from Database (.4fdz)
    • Custom form from Database (.4fdc)
    Genero
    • Form from Database (.4fd)
    The New Form from Database wizard will guide you through setting up the form.
  3. Select the columns from one of more tables to include in the form.
  4. Select the container to use.
  5. Set the relationships between tables if needed.
  6. Change the label and widget used for each field if desired.