Microsoft KB Archive/225917

= ACC2000: Invalid ControlSource Property Values Are Erased in Data Access Pages =

Article ID: 225917

Article Last Modified on 12/12/2002

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q225917



Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to 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  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.



Steps to Reproduce Behavior

 * 1) Open the sample database Northwind.mdb.
 * 2) In the Database Window, click Pages under Objects, and then click New.
 * 3) In the New Data Access Page dialog box, click Design View, and then click OK.
 * 4) Add a text box to the unbound section of the page.
 * 5) If the Properties window is not visible, on the View menu, click Properties.
 * 6) On the Data tab, type =nothing for the ControlSource property. Press ENTER.
 * 7) 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 the setting you entered isn t valid for this property

Keywords: kbdap kbdta accdap kbprb dapprob KB225917

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.