2.1.2 Forms

An AXL form is a container of controls that can be used to collect information from the user or to display information to the user. It can bind to a data source so that its controls display data from or collect data into that data source.

A form consists of three kinds of sections. The header and footer sections appear at the top and bottom of the form, respectively. They are each optional. The detail section acts as the body of the form.

There are three types of forms, as follows:

  • A single-record form displays one record at a time.

  • A multiple-record form displays multiple records by repeating the detail section of the form for each record.

  • A tabular view or datasheet form displays multiple records in a tabular format, where each record is displayed in one row.

Forms maintain the concept of a current record, which is the record that would be changed if the user were to enter data into a control or cell on the form. A form that is not bound to a data source behaves as if it had one record, which is the current record and consists of the values of the controls on the form when it is active.