Consultor Eletrônico



Kbase 17977: ADM: How to Link a SmartDataBrowser (SDB) to a SmartDataViewer (SDV)?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Verified

GOAL:

ADM: How to Link a SmartDataBrowser (SDB) to a SmartDataViewer (SDV)?

GOAL:

How to make an SDB the data source for an SDV?

GOAL:

How to make an ADM1 SDB a data source for an ADM2 SDV?

FACT(s) (Environment):

Progress 8.x
Progress ADM2
Windows
Progress 9.x
OpenEdge 10.x

FIX:

The following steps demonstrate how to make a SmartDataBrowser ( SDB ) the data source for a SmartDataViewer ( SDV ). Although this solution uses an ADM1 style ( Version 8.x) SDB that has no SmartDataObject ( SDO ) data source, the solution is still valid if an ADM2 style SDB is used instead. Note that if the SDB is an ADM1 style SDB, then the SDO need not be dropped on the SmartWindow as its only use is the SDV. However, if the SDB is an ADM2 style SDB, then the SDO needs to be dropped on the SmartWindow:
1. Create an SDB for customer table and associate it to the database rather than to a SmartDataObject.
2. Create an SDO against the Custome table containing the fields in the SDB created above.

3. Create an SDV and against the Customer SDO.
4. Create a new SmartWindow.
5. Drop the SDB on the SmartWindow.
5. Drop the SDV on the SmartWindow.
6. When prompted, establish a Data Link from the SDB (Source) to the SDV (Target).