Hilmar,
You question seems a simple one, so I don't know why you have not yet received a number of replies.
It looks to me as if you are doing everything right.
There is an easier way to do this, I think, that also makes it easier to keep track of what help is associated with a form or control on the form.
Create a lookup table consisting of a unique name for each object linked to you help, and give each such object a unique numeric id, like this:
Structure for table HelpCtxt.dbf
<strong>Unique_Name Unique_No</strong>
myForm 0000001
myForm.myGrid 0000002
etc...
Each of your forms already has a unique name, and every control can be given a unique name using SYS( 1272,
) to get the control's hierarchy.
You can ensure that the unique number is indeed unique by using an insert trigger on the table to test for uniqueness.
Your context help process now goes to HelpCtxt to get the unique number using the unique name for the form or control on the form.
Hope this helps.
Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.