NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: sabra on November 01, 2010, 02:04:22 PM
-
In a NT browse (display) i call a normal abc source procedure CalcPrice(amount) . In this procedure i need a session value but p_web.gsv is not referenced in a normal source proc.
The proc is in the same (nettalk 5) app
How to do this?
Regards,
Walter
The Netherlands
-
Pass p_web as a parameter (see browse template) or just pass the parameters you need.
-
yes, what Kevin says.
the prototype becomes
(Long Amount, NetWebServerWorker p_web)
ditto the parameters list - and you call it with
CalcPrice(Amount,p_web)
you can make the parameter optional if you like - and if
it's omitted don't do the GSV call.
cheers
Bruce