Error message when designing a form

J

Jim

This problem has only started happening today. When I click on View-->Design
to design a form, I'm now getting a msgbox error msg that says

"Your database can't run the macro or callback function 'fDesign'. Make sure
the macro or function exists and takes the correct parameters."

However, I can go into design view by clicking the Design icon. I have not
made any modifications to any of the menus or toolbars and have restored the
defaults incase the menu has become corrupted.

Thanks
Jim
 
T

Tom Wickerath

Hi Jim,

With the form in question closed, try clicking on Tools > Analyze > Documenter. Select
the form in question to document it. Click on the Options... command button, and select
everything you can, including Names and Properties in the "Include for Sections and
Controls" section. This should produce a rather verbose report. With the report
displayed, click on File > Export... Select Text Files as the "Save as type:" option.
Save the report as a text file to the folder of your choice. Use the Windows (default)
encoding in the dialog box that follows.

Open this text file in Notepad. Use the Find feature to search for the string fdialog.
This may reveal to you where this is hidden in your form.

Tom
_________________________________________


This problem has only started happening today. When I click on View-->Design
to design a form, I'm now getting a msgbox error msg that says

"Your database can't run the macro or callback function 'fDesign'. Make sure
the macro or function exists and takes the correct parameters."

However, I can go into design view by clicking the Design icon. I have not
made any modifications to any of the menus or toolbars and have restored the
defaults incase the menu has become corrupted.

Thanks
Jim
 
T

Tom Wickerath

Correction
The sentence below that reads:
Use the Find feature to search for the string fdialog.

should have read:
Use the Find feature to search for the string fDesign.


__________________________________________

Hi Jim,

With the form in question closed, try clicking on Tools > Analyze > Documenter. Select
the form in question to document it. Click on the Options... command button, and select
everything you can, including Names and Properties in the "Include for Sections and
Controls" section. This should produce a rather verbose report. With the report
displayed, click on File > Export... Select Text Files as the "Save as type:" option.
Save the report as a text file to the folder of your choice. Use the Windows (default)
encoding in the dialog box that follows.

Open this text file in Notepad. Use the Find feature to search for the string fdialog.
This may reveal to you where this is hidden in your form.

Tom
_________________________________________


This problem has only started happening today. When I click on View-->Design
to design a form, I'm now getting a msgbox error msg that says

"Your database can't run the macro or callback function 'fDesign'. Make sure
the macro or function exists and takes the correct parameters."

However, I can go into design view by clicking the Design icon. I have not
made any modifications to any of the menus or toolbars and have restored the
defaults incase the menu has become corrupted.

Thanks
Jim
 
D

Dirk Goldgar

Jim said:
This problem has only started happening today. When I click on
View-->Design to design a form, I'm now getting a msgbox error msg
that says

"Your database can't run the macro or callback function 'fDesign'.
Make sure the macro or function exists and takes the correct
parameters."

However, I can go into design view by clicking the Design icon. I
have not made any modifications to any of the menus or toolbars and
have restored the defaults incase the menu has become corrupted.

I believe this is caused by one of the downloads from Stephen Lebans'
web site, which modifies the built-in toolbars to call
a custom function name fDesign when you switch to Design View. Would
that make sense to you? I think you *should* be able to fix the problem
by resetting the toolbars and menu bars, but if not, you may have to
edit the menu bar and correct it manually.

If you search Google Groups (http://groups.google.com) in the
microsoft.public.access.* hierarchy for "fDesign", you'll find a number
of messages about this, and some will have instructions for fixing the
problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top