ACC2002: Cannot Set Form Data Properties During Pivot Events (287106)
The information in this article applies to:
This article was previously published under Q287106 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you are setting a data-related property during one of the PivotTable- or PivotChart-related events in a form, you receive the following error message:
Run-time error '2101'
The setting you entered isn't valid for this property.
CAUSE
Microsoft Access prevents you from setting data-related properties from certain events in order to prevent your code from causing an endless loop.
RESOLUTION
Set data-related properties from another event, such as the Open or Load event of the form.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kberrmsg kbprb KB287106 |
---|
|