Previous Next

Refresh( ) method

(Windows only; GUI for .NET only)
Refreshes field values displayed for the current or specified row in any bound .NET control with values from the corresponding record in the bound ABL data source object.
You can use this method when the BindingSource object is bound to a query or a buffer. When bound to a ProDataSet object, this method applies only to the top-level table displayed in the .NET control.
Note:
Return type:
Access:
Applies to:
 
Syntax 
Refresh ( [ INPUT record-index AS INTEGER ] )
record-index
An optional INTEGER value specifying a 1-based record index position in either the result set of a bound query or the top-level query in a ProDataSet object. If specified, the BindingSource object refreshes the corresponding row in any bound .NET control with values from the specified record in the bound ABL data source object. If not specified, the BindingSource object refreshes the current row in the bound .NET control (specified by the Position property) with values from the corresponding record in the bound ABL data source object.
Invoking this method does not change the editing mode of the .NET control.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.