Clicking/Dbl-clicking not working on subform control

  • Thread starter Thread starter google3luo359
  • Start date Start date
G

google3luo359

Hmmmm...

I've always had success at putting VB code under controls, and just
double-clicking them to fire the code.
But it's not working now and I'm wondering what's happening?
The control is on a subform. It's a plain textbox. I just want to
dbl-click and open a help form.
I can dbl-click a control on the parent form and it works.

What are some things that might be preventing the code from firing?

I tried:

DoCmd.OpenForm "fmHelpGoals"

and also:

Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "fmHelpGoals"
DoCmd.OpenForm stDocName, , , stLinkCriteria

TIA Ric
 
First, check to see if the textbox is Enabled.
Next, make sure there are no Visible = No objects on top of the textbox. (I doubt that)

Also, try putting a Beep in the first line of the code. That would help determine if the
code is firing (but failing) as opposed to not firing at all.
If you still have problems, post your Dbl-Click code.
 

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

Back
Top