Difference between revisions of "RPC HELP TRPCBroker ClearResults"

From VistApedia
Jump to: navigation, search
(Created page with "<h2>ClearResults Property</h2> Example <h3>Applies to</h3> TRPCBroker component Declaration property ClearResults: Boolean; Description The ClearResults design-time...")
 
 
Line 1: Line 1:
 
<h2>ClearResults Property</h2>
 
<h2>ClearResults Property</h2>
Example
+
[[RPC_HELP_TRPCBroker_ClearResults_Example|Example]]
  
 
<h3>Applies to</h3>
 
<h3>Applies to</h3>
TRPCBroker component
+
    [[RPC_HELP_TRPCBroker|TRPCBroker]] component
 
  
Declaration
+
<h3>Declaration</h3>
property ClearResults: Boolean;
+
    property ClearResults: Boolean;
 
 
  
Description
+
<h3>Description</h3>
The ClearResults design-time 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.
+
The '''ClearResults''' design-time property gives the developer the option to clear the [[RPC_HELP_TRPCBroker_Results|Results]] property prior to every invocation of the [[RPC_HELP_TRPCBroker_Call_Method|Call]] method. The [[RPC_HELP_TRPCBroker_strCall_Method|strCall]] and [[RPC_HELP_TRPCBroker_lstCall_Method|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.
 
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 located under the ..\BDK32 directory) to set the default value for this property when you add a TRPCBroker component to your form.
+
You can use the [[RPC_HELP_TRPCBroker_Broker_Programmer_Preferences_Editor|Broker Programmer Preferences Editor]] (BrokerProgPref.EXE located under the ..\BDK32 directory) to set the default value for this property when you add a [[RPC_HELP_TRPCBroker|TRPCBroker]] component to your form.
 
 
 
For a demonstration, please run the BrokerProgPref.EXE located in the ..\BDK32 directory.
 
For a demonstration, please run the BrokerProgPref.EXE located in the ..\BDK32 directory.

Latest revision as of 16:53, 4 July 2015

ClearResults Property

Example

Applies to

   TRPCBroker component	

Declaration

   property ClearResults: Boolean;


Description

The ClearResults design-time 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 located under the ..\BDK32 directory) to set the default value for this property when you add a TRPCBroker component to your form.

For a demonstration, please run the BrokerProgPref.EXE located in the ..\BDK32 directory.