NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on August 27, 2009, 10:58:31 AM
-
I wanted to use the proc name for a help variable, but I'm not seeing a session variable for it. I'm thinking something like p_web.... something. I will use this in a string on the page. Any suggestions? Thanks!
-
Hi Mike,
Follow this link:
http://www.nettalkcentral.com/index.php?option=com_remository&Itemid=27&func=fileinfo&id=4
This one generates a <procedurename>.html link in whatever form you create.
It is also easy to modify.
Regards,
Rene Simons
-
Mike,
I wasn't aware of the fact that I was referring to your solution. ;D
Is something wrong with it.??
Rene
-
Thanks Rene. That template is so old that I'm not sure it even works anymore<g>. My newer template is much more complex than that, but I'm trying a little different approach with this app. I'm starting with some popup code that actually pops up the window rather than displaying it in another tab.
In this app I've built a help system using a Help file and record, and the window ID is what pulls up the right help. So if I click on the help balloon in the proc: InventoryL, then I want to call
http://localhost:8181/help?hlp__windowid=InventoryL&View_btn=view
So when I stuff the code into each proc, I don't want to have to modify the window ID number, I want to do something like:
http://localhost:8181/help?hlp__windowid=p_web.(something)&View_btn=view
where it works across any proc. I'll just keep digging I guess.
-
assuming your app is ABC...
GlobalErrors.GetProcedureName()
returns the current procedure name.
Cheers
Bruce
-
Thank you Bruce. I was thinking I saw in prototyped in NTWS.