Database Guide

Using quick forms

Most attributes of VisualAge parts have quick forms associated with them. In many cases, the fastest way to construct a user interface is to begin with a part's quick form. You can use quick forms of database query parts to display an entire table of information or just a single value:

  1. From the pop-up menu of your query part, select Quick Form and then resultTable.
    Note:If you change the settings of a query part, you need to generate the quick form again for the changes to take effect.
  2. Move the mouse pointer over your window and click button 1. VisualAge tears off the result table, and a default visual representation, or form, of the result table appears. The quick form for a result table is the Packeting Container Details part.

    When creating a quick form, VisualAge provides the connections necessary to keep the nonvisual part synchronized with the visual part. For a result table, VisualAge creates the following connections between your result table part and the container details part in the window:

  3. From the current row's pop-up menu, select Quick Form and then DEPT attribute. Move the mouse pointer over your window and click.

    This time, a text part, the quick form for a single column, appears. Notice the attribute-to-attribute connection that synchronizes the current row's DEPT with the text entry field's object. Also notice that a default label part is also provided to the left of the text part.

  4. You can change the label to Department number and resize the text entry field.

Your Composition Editor looks like this:
Sample database application

Tip
To get the quick form of the entire current row, select its self attribute.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]