VBA Help

M

Matt Howard

Hello all--

I'm trying to get a label that is default visible=false
(Forms!frmAuthListPending) to become visible based on a
check box in another form (Forms!frmDriverInfo!Pending).
I placed the code in the Pending_Click Event in
frmDriverInfo.

The debugger spits back that it cannot find the object
frmAuthList that I have included. Here is my code:

If Forms!frmDriverInfo!Pending = True Then
Forms!frmAuthList!Pending.Visible = True
End If
If Forms!frmDriverInfo!Pending = False Then
Forms!frmAuthList!Pending.Visible = False
End If

Any help is appreciated.

Thanks,
Matt
 
C

Chris

is frmAuthList open?

In the debug window, can you ?Forms("FrmAuthList").Name?


Chris
 

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