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). SYMPTOMSWhen you run the RepaintObject method of the DoCmd object on a data access page, you may lose the most recent changes that you made to the design of the page. CAUSEThe RepaintObject method reloads the page from the persisted state on disk. RESOLUTIONMake sure that you either save the page or view the page in Page view before you run Visual Basic for Application code that contains the RepaintObject method. Saving the PageTo manually save the page, click Save on the File menu.-or- To programmatically save the page, use a line similar to the following:
Viewing the Page in Page ViewTo manually view the page in Page view, click Page View on the View menu, and then click Design View on the View menu.-or- To programmatically view the page in Page view, use a line similar to the following:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Note that the second command button is no longer on the page.
Additional query words: pra gone missing lost
Keywords : kbdta AccDAP DAPProb |
Last Reviewed: September 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |