14. ABF Development Example : The Sales Entry Application : The NewOrder Frame
 
Share this page                  
The NewOrder Frame
The NewOrder operation calls the NewOrder frame, shown in the following figure. Here the user can add a new order to the database.
The frame contains the following operations:
Add
Enters a new order. Add appends data to the database and clears the form to allow new values to be entered.
Find
Retrieves information about a customer from the database
ListChoices
Displays a menu of legal values for the current field or a field description.
For the Product field, ListChoices displays the list of products that constitute a validation check for that field, specified when building the form. See the Defining the NewOrder Form section for details.
End
Returns to the Topframe
The user selects the Add operation from the NewOrder menu to execute queries that append data to the database. The information is entered in two tables: "Orders" and "Marketing."
The "Orders" table contains a row for each order.
The "Marketing" table contains summary information (for example, the number of orders for each product) for tracking product sales.