General case
A form page displays the values of a record in a form, on the basis of one value per control. The records can be accessed one by one.
The form can:
- allow (or not) the move to the previous and next records.
- allow (or not) the creation, modification and deletion of records.
Simple dynamic form
This type of page is used to view and modify a record.
This type of page does not allow you to:
- browse the different records.
- create or delete a record.
A "Simple dynamic form" page is made of:
- buttons used to validate or cancel the input.
- buttons used to print the current record
- controls linked to the file items.
In most cases, the "Simple dynamic form" page is accessible from a "Simple dynamic table" page to view or modify the current record.
Dynamic form with browse
This type of page is used to:
- modify the record displayed.
- create a record.
- delete a record.
- print the current record.
- move to another record (next or previous one).
A "Dynamic form with browse" page includes:
- controls linked to the file items.
- 4 navigation buttons.
- buttons used to:
- create a new record.
- delete the current record.
- print the current record.
- close the page.
Compared to a "Simple dynamic form", a "Dynamic form with browse" proposes:
- an easy way to move from a form to another one.
- the ability to create several records in a row.
Tip: For the files containing several records, we advise you to select the records in a table and to modify or view the selected record in a "Simple form" page. Indeed, the selection is faster in a table.
Dynamic form with linked table
This type of window is used to view the content of the files linked by a simple link (1 - N) in the same page.
The values of the record found in the main file are displayed in a form. The records linked to the current record (in the main file) are displayed in a table.
This type of page includes:
- a form (in the top section) used to display the values of the current record found in the base file (main file).
- a table (in the bottom section) used to display the records linked to the current record in the main file.
- a pager used to display the table record.
- buttons used to:
- create a new record in the main file.
- delete the current record from the main file.
- close the page.
- add a row into the table.
- modify a row in the table.
- delete a row from the table.
Remarks:
- If the file displayed in the table is a relation file, the page contains the buttons required to access the other relation file.
- If this type of page is selected for a file with no linked file (1-N link), it is signaled by WEBDEV.
Dynamic form with relation table
This type of page is used to view at the same time:
- the content of a file in a table and
- the content of a file in a form.
The records displayed in the table and the ones saved in the form are linked by a complex link (N - N).
The "Form with relation table" page includes:
- a form (in the top section) used to display the records found in the base file (main file).
- a table (in the bottom section) used to display the records linked to the current record in the main file.
- a pager used to display the table record.
- buttons used to:
- create a new record in the main file.
- delete the current record from the main file.
- close the page.
- add a row into the table.
- modify a row in the table.
- delete a row from the table.
The "Form with relation table" page is recommended when the details of the file must be displayed immediately.
Semi-dynamic form
This type of page is used to view a record and to browse the records to view.
This type of page does not allow you to create or delete records. Indeed, when generating the associated static pages, one static page will be created per form.
This type of page includes:
- controls used to display the content of the file items.
- a navigation bar used to browse the records.
In most cases, the "Semi-dynamic form" page is accessible from a "Semi-dynamic table" page to view the current record.