DoCmd.Echo False fails in modal form in 2007
Posted on 2008-10-15
I am converting an Access 2003 app to Access 2007.
In this app, I have a form that is set up as a modal dialog. There is a main "dialog" form and a couple of subforms and record navigation buttons. Upon arriving at this "dialog" form, the user may navigate through some records, and upon finding the desired one, can click a button to make a copy of the desired record (along with appropriate value changes), which will then be available back on the main form from which the dialog originated.
In moving between records in the "dialog" form and sub forms, I am trying to use DoCmd.Echo False and True to control what the user sees. I have traced the logic, and after I issue the DoCmd.Echo False at the beginning of Form_Current, there are no extraneous DoCmd.Echo True statements anywhere within the logic, until I finally issue a DoCmd.Echo True at the end of the Form_Current. But I still see everything I am trying to hide. It is as if I never issued a DoCmd.Echo False.
Is there some restriction against manipulating the Echo state if the form is "modal"? What is going on?