Tip box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have searched everywhere and could not find an answer...so here we go. I
have a form with several boxes to enter in specific data. What I am trying
to do is add either command buttons or pictures where a user will select to
get more information about that particular box. For example:

For the text box Study, if a user clicks the icon (question mark) next to
the text box, a tip box will appear giving instructions on what information
should be entered into the Study text box and disappear afterwards. Thanks
in advance!!!!
 
If you don't have access to a Help file compiler, then you could use a form
with nothing more than one large text box to present the information and a
command button to close the form. I would suggest it be Pop Up and Modal.

Create a table that has two fields. A key field that will allow you to
identify which record has the text for the control you want. A memo field
that has the text you want to display.

Use the Help Context Id property of the control to identify which record
should be used to display the text.

In the Click event of the button associated with the control, use the
OpenArgs argument to tell the "Help Form" which record to use.

Docmd.OpenFrom "frmHelp", , , , , , Cstr(Me.txtSomeControl.HelpContextID)

Make the table descripbed earlier the record source for frmHelp. Make the
text box bound to the memo field in the table. Now, in the Load event of
frmHelp, filter the recordset based on the OpenArgs.

If Not IsNull(Me.OpenArgs) Then
Me.Filter = "[TextID] = " & Clng(Me.OpenArgs)
Me.FilterOn = True
End If
 
Back
Top