While tables are simply repositories of data, forms can capture and validate user input based on business rules, before storing them in the tables. Forms can also retrieve data from tables and perform complex searches based on criteria entered by the user.
Create a Form
Go to the Application List page
Double-click on a application to display the Application Design page
Click on the [Form List] tab
Click on [New] and enter the Name of your form
Enter the Caption which is a more user-friendly name for your form
Enter the Default View - choose [Grid] if you want the data to appear as rows and columns or choose [Card] if you want the data to be presented as a card
Click on [Accept] to save the form
You can click on the [Form Url] to preview how the form would look to your users
You can edit any of the details of the form at anytime by right-clicking on the form to display a context menu, and selecting [Edit]
Edit the Form Design
On the [Form List] tab, double-click on the form you created to display the Form Design page
Click on [Edit] to change the design settings
The Form ID is a unique system-generated ID for internal use
You can change the Name of the form
You can change the Caption that appears at the top of the window whenever the form is displayed
You can specify the Source Table (or Form) which allows this form to inherit the design of another table or form - a real time saving feature! 😊
You can change the Default View - choose [Grid] if you want the data to appear as rows and columns or choose [Card] if you want the data to be presented as a card
You can tick Prompt for new record after insertion to speed up bulk entry of new records by reducing the number of clicks of the mouse during the process
Card only: You can specify the Number of columns that the card will be split into - fields will be arranged into columns and ordered from top to bottom, left to right
Grid only: You can tick Display [New] row at bottom of grid to display a row at the bottom of the grid that allows the user to insert new data, otherwise row will be at the top of the grid
Grid only: You can choose which Macro to run on double-click of a row in the grid
Create a Field
On the Form Design page, click on the [Field List] tab
Click on [New] and enter the Name of your field
Enter the Caption which is a more user-friendly name for your field
Enter the Type of field to create (e.g. Button, Check, Combo, Date, Label, Link, Memo, Numeric, Radio, Text)
Enter the Width of the field either as a percentage of the form width (in card view), or a percentage of the grid width (in grid view)
Tick the Primary Key box if this field is used to uniquely identify a record; this field may act alone or be part of a combination of fields
Click on [Accept]
Edit the Field Design
On the [Field List] tab, double-click on the field you created to display the Field Design page
Click on [Edit] to change the design settings
The Field ID is a unique system-generated ID for internal use
You can change the Name of the field
You can change the Caption that appears next to the field
You can tick Editable Field? to allow this field to be edited by the user; otherwise it will be read-only
You can tick Mandatory field? to specify that this field must be entered by the user when saving the record; an error message will be displayed if this field is left blank
You can tick Invisible field? if you want this field is to be hidden from the user but contain data that your form uses
You can tick Can search on this field? to allow the user to search on this field; all searchable fields will be shown on a search criteria form which can be submitted and results returned
You can enter a default Value for the field
Comentarios