Consultor Eletrônico



Kbase P15859: How to change set a SmartDataBrowse to get its data from a n
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/28/2003
Status: Unverified

GOAL:

How to change set a SmartDataBrowse to get its data from a new SmartDataObject?

FACT(s) (Environment):

Progress 9.x

FIX:

To change what SmartDataObject a SmartDataBrowser gets its information from do the following:

1) Remove the existing data link from the SmartDataBrowser using removeLink.
2) Add the data link to the new SmartDataBrowser using addLink.
3) Get the handle of the SmartDataObjects query using the getQueryHandle function.
4) Assign that handle the to {&BROWSE-NAME}:QUERY.