Progress
AppBuilder
Developer’s Guide


Making Changes to the Data Stream

The SmartDataObject provides data to the SmartDataBrowser and SmartDataViewer for display. In turn, the SmartDataViewer or SmartDataBrowser might provide data changes that must be written back to the database by the SmartDataObject. To preserve their ability to communicate with one another, you must make any changes to the data stream in an orderly way. Table 4–1 summarizes possible changes and the order in which you must make them.

Table 4–1: How to Make Changes to the Data Stream
Your Goal
How to Reach It
Get exactly the same fields, but from a different database.
Change the database name in the SmartDataObject.
Get exactly the same fields, but arranged in a different order than before.
Simply recompile.
Stop getting one of the fields.
If the field is being displayed, remove the field reference from the SmartDataBrowser and SmartDataViewer first, then remove it from the SmartDataObject.
If it is not being displayed, simply recompile.
Start getting a new field.
Add the field reference to the SmartDataObject first. Then add it to the SmartDataBrowser and SmartDataViewer, if you want them to display it. If you do not want them to display it, simply recompile.
Make a field updatable.
Make the field updatable in the SmartDataObject first. Then make it updatable in the SmartDataBrowser and SmartDataViewer.
Make a field not updatable (read-only).
Make it read-only in the SmartDataBrowser and SmartDataViewer first. Then make it read-only in the SmartDataObject.


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