C
Charles D Clayton Jr
I recently did something and I started to get an error message that
says the fdesign macro or callback function cannot be found and Access
would not let me look at a form in design mode. I have continued to
search for an answer and today I found one on www.utteraccess.com. It
was posted by a JeffK. Here is his solution.
"This just started happening to me after downloading a form animating
utility from Lebans.com.
The code in one of the modules modifies the built-in toolbars to call
a custom function when the design-view button is clicked. Remove the
function name to cause the built-in button to behave normally.
Here are the steps to get your design view button to work normally:
Go to Tools | Customize
On the toolbars tab, check the Form Design toolbar
On the Form Deesign toolbar, click on the left-most design-view icon
arrow and it will drop down to reveal another option labeled "Design
View"
Right click on the Design-View option and choose Properties.
In the On Action property, remove the "fdesign" that appears there.
Also, remove the Design View setting in the Parameters property.
After doing this, your design view button should function normally for
Forms and Reports too. Changing it on the form design toolbar will
also fix the query and report design toolbars because they all contain
a copy of the same built-in command button.
Have Fun!
Jeff
I looked at this a little more and found the class module that
modifies the command bars. It is called FormAnimate. It modifies
buttons in the intialize event and resets them in the terminate event.
You should be able to instantiate then destroy an instance of the
class to have it fix the problem for you. Or you can reset the
controls through code like this:
CommandBars("Form View").Controls("View").Controls("Design
View").Reset
There must have been an ocassion when we instantiated the class but it
never properly terminated - either a circular reference or abnormal
program termination??
HTH
Jeff
"
Additionally, you will need to make the same change to Menu Bar - View
- Design View.
Blessings,
Charles D Clayton Jr
says the fdesign macro or callback function cannot be found and Access
would not let me look at a form in design mode. I have continued to
search for an answer and today I found one on www.utteraccess.com. It
was posted by a JeffK. Here is his solution.
"This just started happening to me after downloading a form animating
utility from Lebans.com.
The code in one of the modules modifies the built-in toolbars to call
a custom function when the design-view button is clicked. Remove the
function name to cause the built-in button to behave normally.
Here are the steps to get your design view button to work normally:
Go to Tools | Customize
On the toolbars tab, check the Form Design toolbar
On the Form Deesign toolbar, click on the left-most design-view icon
arrow and it will drop down to reveal another option labeled "Design
View"
Right click on the Design-View option and choose Properties.
In the On Action property, remove the "fdesign" that appears there.
Also, remove the Design View setting in the Parameters property.
After doing this, your design view button should function normally for
Forms and Reports too. Changing it on the form design toolbar will
also fix the query and report design toolbars because they all contain
a copy of the same built-in command button.
Have Fun!
Jeff
I looked at this a little more and found the class module that
modifies the command bars. It is called FormAnimate. It modifies
buttons in the intialize event and resets them in the terminate event.
You should be able to instantiate then destroy an instance of the
class to have it fix the problem for you. Or you can reset the
controls through code like this:
CommandBars("Form View").Controls("View").Controls("Design
View").Reset
There must have been an ocassion when we instantiated the class but it
never properly terminated - either a circular reference or abnormal
program termination??
HTH
Jeff
"
Additionally, you will need to make the same change to Menu Bar - View
- Design View.
Blessings,
Charles D Clayton Jr