The following example compares development of Stores 7
Informix
4gl
sample application with Axional Studio
. The application ORDER can select, modify and create new orders.1 Stores 7 4GL application
1.1 order.per
The following example shows how to make an order form

TO DO
This section is incomplete and will be concluded as soon as possible.1.2 orderform.per
The query by example QBE and the cursor with resulting data can be viewed using the orderform.per file, which includes customers and items data.
Copy
DATABASE stores7 SCREEN { ------------------------------------------------------------------------------ ORDER FORM ------------------------------------------------------------------------------ Customer Number:[f000 ] Contact Name:[f001 ][f002 ] Company Name:[f003 ] Address:[f004 ][f005 ] City:[f006 ] State:[a0] Zip Code:[f007 ] Telephone:[f008 ] ------------------------------------------------------------------------------ Order No:[f009 ] Order Date:[f010 ] PO Number:[f011 ] Shipping Instructions:[f012 ] ------------------------------------------------------------------------------ Item No. Stock No. Code Description Quantity Price Total [f013 ] [f014 ] [a1 ] [f015 ] [f016 ] [f017 ] [f018 ] [f013 ] [f014 ] [a1 ] [f015 ] [f016 ] [f017 ] [f018 ] [f013 ] [f014 ] [a1 ] [f015 ] [f016 ] [f017 ] [f018 ] [f013 ] [f014 ] [a1 ] [f015 ] [f016 ] [f017 ] [f018 ] Running Total including Tax and Shipping Charges:[f019 ] ============================================================================== } tables customer orders attributes f000 = orders.order_num; f001 = orders.order_date; f002 = orders.customer_num; f003 = orders.ship_instruct; a = orders.backlog;
1.3 d4_orders.4gl
The following 4gl
application is used to manage orders form actions, including query, add, update or delete a orders.
TO DO
This section is incomplete and will be concluded as soon as possible.
Copy
todo
2 Stores 7 Axional Example
d4_orders.4gl + order.per + orderform.per
First, we will see the same application using Axional
Interface.
2.1 Using Axional Query
As with the 4gl
, this example shows how to make an order query. When application is activated, it shows a QBE form. You can use common QBE command to perform any type of query.

2.2 Using Axional Form
After the query is performed, a cursor with matching data from order table is shown.

The form automatically displays a toolbar with control options.

This image is the
orders list view (nº5)
.
This image is the
orders PDF (nº6)
.