![]() |
|
|
#1
|
|||
|
|||
|
I have a form (frmBooks) with several fields, one of which is an unbound textbox (txtHelpText).
As each field in the form gets the focus, the text in txtHelpText changes to show relevant help. At the moment this is done through the OnFocus event code. This makes it difficult to edit the help text as it means hunting through the code. I'd like to have a table (tblHelpText) with two fields (ID & HelpText). Then as each field on frmBooks gets the focus, have the contents of txtHelpText pick up the relevant data from [tblHelpText].[HelpText]. Only problem is, i've no idea how to go about it. I'm only vba beginner really. Thanks in advance. |
|
#2
|
||||
|
||||
|
What you can do is to put the help text in the Tag property of the control then when the control gets the focus you pass this string to the help text control.
Me.HelpText = Me.ActiveControl.Tag David
__________________
www.xcraftlimited.co.uk The Home of Simple Software Solutions. |
|
#3
|
|||
|
|||
|
Yes i looked at something like this, but the help is often several lines long (with line breaks and examples). I really want to be able to edit the helptext in a table (through a form).
|
|
#4
|
|||
|
|||
|
Not really solved as such, but found an alternative. I've used HelpMaker to actually make a .hlp help file.
|
|
| Bookmarks |
| Tags |
| forms, textbox |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Update a field in a table based upon information in anther table? | sabrown | Database Design | 4 | 09-03-2009 12:01 PM |
| Programming a result field in a table | Linda | Programming | 9 | 07-13-2009 06:07 PM |
| Sum of two field names in one record in the same table. | Mr. LL | Access | 5 | 03-31-2009 07:16 PM |
| Updating Table field from Form | Kunuk | Access | 0 | 02-26-2009 08:41 PM |
| how to update only one field in 1 table? | viccop | Access | 3 | 02-21-2009 11:32 AM |