Visual Basic: RDO Data Control
ReadOnly Property (Remote Data)
See Also Example Applies To
Returns or sets a value that determines whether the control's rdoConnection is opened for read-only access.
Syntax
object**.ReadOnly** [= value]
The ReadOnly property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A Boolean expression that determines read/write access, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
True | The RemoteDatacontrol's rdoConnection object is opened with read-only access. Changes to data aren't allowed. |
False | (Default) The RemoteData control's rdoConnection is opened with read/write access to data. |
Remarks
Use the ReadOnly property with a RemoteData control to specify whether data in the underlying rdoConnection can be changed. For example, you might create an application that only displays data. Accessing a read-only rdoConnection might be faster.
Even if the ReadOnly property is False, a user might not have write access to a database because the user does not have permission or the type of rdoResultset in use does not support updates.
This property corresponds to the OpenConnection method's readonly argument.