Progress
Application Development
Environment — Getting Started
Customer Section
The Customer section of the Order Tracking System main window has a SmartDataViewer that displays customer information. From the main window:
Searching for Customers
The Find Customer button in the Order Tracking System main window opens the Find Customer window. From this window, you can view information about all customers, or you can find customers and view information based on the search criteria you specify.
The Find Customer window is a nonmodal child window of the main window. As a result, you can move between the Find Customer window and the main window by clicking on them.
You can search the Sports2000 database dynamically by specifying query criteria at run time. Customers selected by the dynamic query appear in the browser.
Follow these steps to search for a customer:
- Choose the Find Customer button. The Find Customer window opens:
![]()
- Using the Customer selection list and buttons in the upper section of the window, build the following query in the editor:
Name BEGINS "B"
- Choose the Search button.
The SmartDataBrowser displays customer names that start with B. From this window, you view details about a selected customer. You can also use the Show All button to remove the query and to view all the customers.
- Select a row in the browser and choose the Display Detail button. The Display Customer window opens:
![]()
The Display Customer window is a child window of the Find Customer window. The Display Customer window has a SmartDataViewer for displaying address and other information for the customer selected in the Find Customer window. To learn how to create this SmartDataViewer, see An Overview Of SmartObject Technology."
- After viewing the information, close the Display Customer and Find Customer windows and return to the Order Tracking System main window.
NOTE: Table 2–3 describes the important elements of these windows in detail.Modifying Customer Information
The Maintain Customer button in the Order Tracking System main window opens the Maintain Customer window. This window uses an instance of the same SmartDataViewer that you saw in the Find Customer window. In this instance, the SmartDataViewer is locally configured to allow you to change the record. This window also uses a SmartDataField on the Comments field to enable you to view and enter comments. There is also an instance of a dynamic SmartToolBar that you use to navigate, create, and maintain customer records.
The Maintain Customer window is a nonmodal child window of the main window. As a result, you can move between this window and the main window by clicking on them.
Follow these steps to modify customer information:
- Choose the Maintain Customer button in the Order Tracking System main window. The Maintain Customer window opens:
![]()
You can enter and update changes in a customer’s address, telephone number, contact, e-mail, and fax information using this window.
- Close the Maintain Customer window and return to the Order Tracking System main window.
Table 2–12 describes the major objects in the Maintain Customer section of the Order Tracking System.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |