Somehow a VBA module got created for one of my forms and is showing up in the
VBA Project Browser (Form_Formname). When I right-click it, the "Remove
Form_Formname" option is grayed out. I've deleted all the contents of the
module, so it's just an empty name, basically. Also, I've checked the form
and it's not getting called anywhere. What gives?
ruralguy - 24 Jul 2007 20:25 GMT
See if a /decompile and then a Compact and Repair corrects the issue.
http://www.granite.ab.ca/access/decompile.htm
>Somehow a VBA module got created for one of my forms and is showing up in the
>VBA Project Browser (Form_Formname). When I right-click it, the "Remove
>Form_Formname" option is grayed out. I've deleted all the contents of the
>module, so it's just an empty name, basically. Also, I've checked the form
>and it's not getting called anywhere. What gives?

Signature
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.
Maurice - 24 Jul 2007 20:58 GMT
You might also try to check the following:
Check the properties from the form and at the bottom of the properties
you'll see the property "Has Module". If this is set to yes then set it to
no. Confirm the messagebox (stating any code will be removed) and then
compile again.
hth

Signature
Maurice Ausum
> Somehow a VBA module got created for one of my forms and is showing up in the
> VBA Project Browser (Form_Formname). When I right-click it, the "Remove
> Form_Formname" option is grayed out. I've deleted all the contents of the
> module, so it's just an empty name, basically. Also, I've checked the form
> and it's not getting called anywhere. What gives?
joeljkp - 24 Jul 2007 21:14 GMT
Thank you, that was it. I hadn't noticed the "Has Module" option before.
- Joel
> You might also try to check the following:
>
[quoted text clipped - 10 lines]
> > module, so it's just an empty name, basically. Also, I've checked the form
> > and it's not getting called anywhere. What gives?