Progress
Application Development
Environment — Getting Started


Saving the New SmartDataObject

After creating the new SDO, you should save it using the filename dcust.

Follow these steps to save the SDO as dcust:

  1. In Page 4 of the SmartDataObject Wizard, choose Finish.
  2. A SmartDataObject window that represents the new SDO opens:

  3. Choose the Save icon from the AppBuilder toolbar to open the Save As dialog box.
  4. In the Save In combo box, select the working directory you created for this tutorial. The default working directory is \Progress\wrk.
  5. In the File Name field, type dcust.w and choose Save.
  6. The AppBuilder saves the new SDO and compiles it after saving the source file. The save produces the following five files:

    • dcust.w — Editable source file
    • dcust.i — Include file with a list of the fields
    • dcust_cl.w — Client proxy version of dcust.w for use with distributed applications
    • dcust.r — Compiled version of dcust.w
    • dcust_cl.r — Compiled version of dcust_cl.w for use with distributed applications
  7. Click anywhere inside the SmartDataObject design window to select it and then choose File Close from the AppBuilder menu.
  8. The new SDO should now through the Object Palette. Before you continue, verify that the SDO is available through the Object Palette.

  9. Choose the SDO button in the Object Palette.
  10. The Choose SmartDataObject dialog box opens. It shows the newly saved file in your working directory (indicated by the period (.) under Directory):

In the next section, you create a SDV that can display the fields queried by your new SDO.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095