You could use a UDF. Try setting the HelpContextID to "=GetID(THIS)", create a GetID program / function that accepts an object reference and returns a numeric value. You could have this program do the reverse of the program I sent you - you maintain your own table of objname and helpcontextid values, the GetID function looks up the objname and returns the helpcontextid. This would probably slow form display at runtime, but you could change any object's helpcontextid at will.
>>You could expand this code to update a table that tracks ObjName, HelpContextID and HelpText.
>
>Brien,
>
>Hmmmm... Ok, I thank I see where you and Dragan are going with this. So, I could run this to determine what the current assigned IDs are in the app and use that to update the help table. Hey! I could also use it in reverse to check the help table to see what the users have added since last version, except, then how do I get the new ID into the property for the object at runtime? I can't...
>
>This reminds me of something my father said years ago... He told me that although I might be the shiniest knife in the drawer, I was not necessarily the sharpest. :)
>
>If it wasn't for the users' insisting that they be able to add help for objects on the fly, I would just use West Wind's application and deal with keeping up with the IDs... (sigh) ...
Brien R. Givens
Brampwood Systems