Error 1004   This property is Read Only.

Situation:

You attempted to set the value of a read-only property.

Solution:

You cannot set the value of a read-only property.

The following table shows the read only properties in VBA:

[spacer]

Object/Collection

Property

Description

Window

IsLoaded

Specifies whether the window is open.

Required

Specifies whether the user entered data in all fields whose Required property is True.

Field

Parent

Returns the window or report object that contains the specified field.

Object

Returns a field object without the standard properties and methods extended to it by Visual Basic.

DUOSObject

ID

Returns an object ID for a data object.

DUOSObjects

Item

Returns a data object from a collection of data objects.

DUOSProperties

Item

Returns a property object from a collection of properties.



Documentation Feedback