Inserting a Simple Form object

The Simple Form object allows you to optimize data retrieving process when you need to display values from only one row in a query.

About this task

You can put several Label objects on a Simple Form to display values from different cells of the specified query row.

To insert a Simple Form:

Procedure

  1. Double-click the Simple Form object in the Layouts palette of the Palette view.
  2. In the Simple Form Wizard, navigate to the table or query that will provide data for the Simple Form layout and click Finish.
    The Simple Form Wizard closes and the Simple Form object is placed on the scene.
  3. Add required Label objects to the Simple Form layout.
    1. In the Project Explorer view, navigate to the Simple Form layout that you inserted.
    2. In the Palette view, expand Primitives and select Label.
    3. Drag the Label object to the Level1 node under Simple Form layout in the Project Explorer view.
  4. With the help of Expression Designer, specify the value to display in each Label object.
    1. In the Project Explorer view, select the Label object you added.
    2. In the Properties view, double-click the Text property value.
    3. In the Expression Designer window, replace default text with the name of the column that contains the value you want to display. For this, expand Queries > [Query name] > Output columns and select the required column.
      Note: [Query name] stands for the name of the query or table that you specified for the Simple Form layout.
  5. Click OK to close the Expression Designer window.

Results

The Simple Form layout with all required labels is added to the scene. You can check the result in Runtime mode.