ACC2000: Invalid ControlSource Property Values Are Erased in Data Access Pages
ID: Q225917
|
The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).
SYMPTOMS
When you type an invalid value in the ControlSource property of a control on a data access page, Microsoft Access returns one of the following error messages and erases the value:
Invalid property value.
-or-
The expression "expression" is not valid.
-or-
The setting you entered isn't valid for this property.
CAUSE
Because the ControlSource property value is invalid, Access erases the invalid entry so that you can re-enter a valid value.
RESOLUTION
Type a valid value in the ControlSource property.
For more information about valid ControlSource property values, click Microsoft Access Help on the
Help menu, type "ControlSource Property" in the Office Assistant or the Answer Wizard,
and then click Search to view the topic.
MORE INFORMATION
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb.
- In the Database Window, click Pages under Objects, and then click New.
- In the New Data Access Page dialog box, click Design View, and then click OK.
- Add a text box to the unbound section of the page.
- If the Properties window is not visible, on the View menu, click Properties.
- On the Data tab, type =nothing for the ControlSource property. Press ENTER.
- When the error message appears, click OK. Note that the text that you typed in the ControlSource property is gone.
Additional query words:
DAP prb empty erased cleared control source
Keywords : kbdta AccDAP DAPProb
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb