The graphic? do you mean an picture image control on the form or an image
as part of the help, or are you referring to the form as a graphic? I get
the feeling you are a novice when it comes to VBA coding, in which case a
complete answer could be quite lengthy. All image controls have a Mouse
Click or Mouse Double-Click event which can be used to call the help
function. Unfortunately, an image has no keypress event to use a function
key to evoke the help.
As far as a table to store your help text, it could be as simple as an
autonumber field as a primary key and memo field to contain the help text.
You may however, add an additional field to hold the name of the control on
the form and one for the name of the form (if you have more than one form
for which you want to provide control help). It would also be helpful to
have title field (255-character string) to hold short title to be displayed
with the memo, help description (especially if using an Access msgbox). You
would then need a function defined to lookup the help record needed based on
the invoked form/control name and to display the dialog form or a msgbox
using the fields from that record. Next, you would need to set a call to
the function from each control's double-click, Mouse Move, KeyPress, or
other event, to invoke the function by passing it the name, or other
identifier, of the control to the function as a parameter.
the pop up box or msgbox may serve my purpose. How do I liink the graphic
to
a help table? What fields do I need in my table?