ClearResults Property

Example


Applies to
TRPCBroker component

Declaration

property ClearResults:  Boolean;

Description
This property gives the developer the option to clear the Results property prior to every invocation of the Call method. The strCall and lstCall methods are unaffected by this property. Setting ClearResults to True clears the Results property.

If this property is True, then the Results property is cleared before every invocation of the Call method, thus, assuring that only the results of the last call are returned. Conversely, a setting of False accumulates the results of multiple calls in the Results property.

You can use the Broker Programmer Preferences Editor (BrokerProgPref.Exe) to set the default value for this property when you add a TRPCBroker component to your form.