Automate a Text box to open another form

N

Neil

In the form, I created a text box that is populated when I click a combo box.

I need that if I click the text box, it will open another form. Can this be
done.

Need help.

Thank you
 
D

Douglas J. Steele

Put code in the text box's Click event:

Private Sub MyTextbox_Click()

DoCmd.OpenForm "SomeFormName"

End Sub
 

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