Export (0) Print
Expand All

How to: Create Forms by Using the AOT

You can use forms to display data to users. You can create a form by using the Application Object Tree (AOT).

You can also create a form by using code. For more information, see Creating Forms by Using Code.

  1. Right-click the Forms node, and then click New Form.

  2. Add a data source to the new form by doing the following:

    1. Expand the Data Dictionary node, right-click the Tables node, and then click Open New Window.

    2. Drag a table from the Tables node to the Data Sources node of the form. Repeat this step to add additional tables to the form.

    3. Modify table fields as needed by right-clicking a field, and then clicking Properties. For more information see Form Data Source Field Properties.

  3. Design the layout of the form by doing the following:

    1. Expand the Designs node of the form you created in step 1, right-click Design, and then click New Control.

      For more information about form controls, see Web Form Controls and Overview of Form Control Types.

    2. Right-click a control, and then click Properties to modify the control. To display data in a control, set the DataSource and DataField properties.

      For more information about control properties, see Web Form control properties and Form Control Properties.

    3. Repeat Steps a - b to add additional controls to the form.

  4. To change the form name, right-click the form you created in step 1, and then click Properties.

    The name of a form should be identical to the table used as a data source for the form.

  5. Right-click the form, and then click Save to save your changes.

  • Right-click the form, and then click Open.

Community Additions

ADD
Show:
© 2014 Microsoft