Controlling visibility and text value of a control

J

jason

Hi Guys.

I am struggling to alter the text value after I make a control visible.

I get an error saying the control has to have focus.

When I do this I get another error saying that other functions in my VBA
will not function due to this.

It seem simple but what am I doing wrong. Here is the trouble spot - the
second part of my If statement:

If Me.Status.Text = "Vessel Under Offer" Then

Selling_Broker_VUO_ID.Visible = True

Else

Me.Selling_Broker_VUO_ID.Text = "None"
Me.Selling_Broker_VUO_ID.Visible = False


End If


'//-------------------

I am trying to make the control
 

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