Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
>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.
Bingo! That is what I'm looking for... In the class object.init I set nHelpID = This.HelpContextID where the HelpContextID property is "=GetHelpID(This)" and then in the UDF I determine what should be returned based on the current help table. The OKL is set to do the help form and pass the nHelpID. Works like a charm! Thanks for you time and patience with this...and the stars return... Renoir
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only