Display a "help" text every I move from one control to another (DATASHEET)

Hi,

I use datasheets a lot.
My plan is to display a help text for EVERY field in a datasheet.  The help text will be held in the "tag" of each control.

My datasheet is called "Datasheet1".  It is held as a subform within "Form1".
Form1 has a text field called "ShowHelp".

What VBA do I use to update Form1.ShowHelp with the "tag" of each control? (according as the control is in focus).
Patrick O'DeaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
So you want to show the data from the Tag of each control as the user enters that control?

You can add code to each control's Enter event:

Me.Parent.ShowHelp = YourControlName.Tag
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rey Obrero (Capricorn1)Commented:
try placing this in the got_focus event of the control

me.parent.showhelp=me.[control Name here].tag
0
Dale FyeCommented:
That will get really annoying, really fast!

Instead, you might want to consider adding a help button to the main form to allow the user to click on it if they have a question about a field.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jeffrey CoachmanMIS LiasonCommented:
Yep, the 5th or 6th time a regular user gets this, they will ask for a way ti disable it.
;-)

What I tend to do is use the ControlTipText property of the control(s).

In this way:
1. No code is needed
2. The help will "appear" whenever the user hovers their mouse over the control.

JeffCoachman
sample
Jeff
0
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
The ControlTip doesn't show up in Datasheet view, however.
0
Rey Obrero (Capricorn1)Commented:
;-)
0
Jeffrey CoachmanMIS LiasonCommented:
lol, ..ok...
0
Jeffrey CoachmanMIS LiasonCommented:
Patrick O'Dea,

Does it have to be a datasheet?
You can use the old trick of squeezing all the controls together in a continuous form to give you the same "appearance" of a datasheet,
Help
Just throwin' it out there...
;-)
0
Patrick O'DeaAuthor Commented:
I take your point Jeffrey ... about imitating the datasheet...
But I just love the ease of setting up datasheets and all the inbuilt functionality.
0
Patrick O'DeaAuthor Commented:
Thanks folks!

... there will be a follow question!
0
Jeffrey CoachmanMIS LiasonCommented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.