Microsoft Remote Data ServiceMicrosoft Remote Data Service*
*Contents  *Index  *Topic Contents

ExecuteOptions Property

Indicates whether or not asynchronous execution is enabled.

Settings

The ExecuteOptions property can be either of the following values.
ValueDescription
adcExecSyncExecutes the next refresh of the Recordset synchronously.
adcExecAsyncDefault. Executes the next refresh of the Recordset asynchronously.

Note Each client-side executable file that uses these constants must provide declarations for them. You can cut and paste the constant declarations you want from the file adcvbs.inc, located in the C:\Program Files\Common Files\System\MSADC folder.

Applies To

RDS.DataControl

Remarks

If ExecuteOptions is set to adExecAsync, then this asynchronously executes the next Refresh call on the RDS.DataControl object’s Recordset.

If you try to call Reset, Refresh, SubmitChanges, CancelUpdate, or Recordset while another asynchronous operation is executing that might change the RDS.DataControl object's Recordset, an error occurs.

If an error occurs during an asynchronous operation, the RDS.DataControl object’s ReadyState value changes from adcReadyStateLoaded to adcReadyStateComplete, and the Recordset property value remains Nothing.

Example

See Also

Asynchronous Population, Cancel Method


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.