Kbase 21894: How To Manually Add New Fields to an Existing SmartViewer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/16/2002 |
|
SUMMARY:
During the development of an application, the need to modify a SmartDataViewer (SDV) might arise after having created the master SDV. This solution shows you how to add another field of the underlying SmartDataObject (SDO) to the already saved SDV.
EXPLANATION:
To delete a field from an existing SDV is straightforward. Open the SDV master in the Application Builder, select the field that you want to delete and hit the delete button. To add one or more fields to an existing SmartDataViewer involves the following steps.
SOLUTION:
1) Open the SDV master in the Application Builder:
File > Open > vFileName.w.
2) Select the DB-Fields icon from the AppBuilder palette and drop
it onto the SmartDataViewer window.
3) Double-click the field to add, from the Multi-Field selector
dialog box.
4) Click OK to close the Multi-Field selector dialog.
5) Position the newly added field(s) in the SDV where you need them.
6) Save the modified SDV master.