contents.gifindex.gifprev1.gifnext1.gif

4.3 How the Sample Orders Program Works

This section is included to help you understand how Vision files were created using the sample Orders Program. Section 4.5 Running the Query Sample Program explains how to access this data from another ODBC-enabled application.

To find out more about how the order-entry program works, you can run the program in debug mode by selecting the "Debug Acucorp Orders Program" icon.

The main screen of the order-entry program is divided into two parts. The first contains information about customers. The second contains information about orders.

Using buttons on the toolbar, you can display the next or previous company, insert or delete new records, open a query window to browse companies, or leave the program and return to the operating system.

Orders are listed in rows. You can scroll through the rows by clicking the mouse on the orders section of the screen and clicking one of the four buttons located to the right. If you click the buttons with two arrows, you go directly to the first or to the last order of the client. If you click the buttons with only one arrow, you go to the next or previous order.

To view the details of an order or to edit an order, click the arrow button located to the left of "Or #". The Order Edit screen displays.

Using this screen, you can modify, insert, or delete the current order from the sample Vision files. The next sections describe how to access this data from another application through ODBC.