Microsoft KB Archive/225975

= ACC2000: Changes to Properties of ActiveX Controls Are Not Saved on Data Access Pages =

Article ID: 225975

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q225975



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
If you insert an ActiveX control into a Microsoft Access data access page and then change the properties, the changes are lost when you open the page in Page view or in Web Page Preview. The changes are also lost if you close the page and then open it in Design view.



CAUSE
The property changes to ActiveX controls are not saved in the HTML file of the page.



RESOLUTION
To work around this behavior, set the properties of ActiveX controls by using script at run time.

For more information about scripting data access pages, on the Tools menu, point to Macro, and then click Microsoft Script Editor. In the Microsoft Script Editor, click Contents on the Help menu.



Steps to Reproduce Behavior

 * 1) Open the sample database Northwind.mdb.
 * 2) In the Database window, click Pages under Objects.
 * 3) Click New. Click Design View, and then click OK to create a new page.
 * 4) On the Insert menu, click ActiveX Control. In the Insert ActiveX Control dialog box, click Microsoft TabStrip Control (version 5.0 or version 6.0), and then click OK.
 * 5) Right-click the new ActiveX control, point to TabStrip Object, and then click Properties.
 * 6) Click the Tabs tab, and click Insert Tab four times. Click OK.
 * 7) On the View menu, click Page View. Note that the extra tabs are lost.

Additional query words: missing gone prb

Keywords: kbnofix kbdap kbprb KB225975

-

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

© Microsoft Corporation. All rights reserved.