Progress
ADM 2 Reference


dataAvailable (query.p)

dataAvailable is an event procedure that generates a dependent query dynamically based on the ForeignFields property. This event occurs when a data-source publishes dataAvailable because it has been repositioned to a different row in its query, and a dependent object needs to react.

Parameters:

INPUT pcRelative AS CHARACTER

A flag describing the newly available record. Valid values are:

Returns: Nothing (procedure)

Notes: This is a special version of DataAvailable for SmartDataObjects with a dependency on another SmartDataObject. The code is different from that for a Viewer. If there are no ForeignFields, then it is being run because of a reposition in one of its targets (a SmartDataBrowser, normally), in which case it just passes on the event to other targets.


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