> Is there a way that I can reference a form feild through a module?
>
[quoted text clipped - 15 lines]
>
> I still get the error "invalid qualifier" when i tried this.
I gather that your form is named "CattHBApp". I believe, then, that what
you need in your module is this:
Forms!CattHBApp!Label373.Visible = True
Forms!CattHBApp!Label377.Visible = True
... although this would also work:
Forms("CattHBApp").Controls("Label373").Visible = True
Forms("CattHBApp").Controls("Label377").Visible = True
Note that the form must already be open when this code runs.

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
sandog - 01 Feb 2008 16:56 GMT
On Feb 1, 10:56 am, "Dirk Goldgar"
<d...@NOdataSPAMgnostics.com.invalid> wrote:
> > Is there a way that I can reference a form feild through a module?
>
[quoted text clipped - 33 lines]
>
> (please reply to the newsgroup)
That Worked!!!
Thanks
Sandon
sandog - 01 Feb 2008 20:56 GMT
> On Feb 1, 10:56 am, "Dirk Goldgar"
>
[quoted text clipped - 45 lines]
> Thanks
> Sandon
Ooops.... I need some more help.
As you noted, "the form must be open when i run this code".
Well it runs perfect when I have that form open, but I get an error
message when I open another form.
Can you help me write an If statement that will check for the form?
thanks
Dirk Goldgar - 04 Feb 2008 17:44 GMT
> As you noted, "the form must be open when i run this code".
>
> Well it runs perfect when I have that form open, but I get an error
> message when I open another form.
>
> Can you help me write an If statement that will check for the form?
I'm not sure what you have in mind. What do you want to have happen if form
CattHBApp is not open?

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)