NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on February 15, 2015, 02:32:38 PM
-
Hi Guys,
When I call a child NetWebBrowse procedure from a parent NetWebBrowse;
The primary key value from the parent NWB is available in the child NWB from a session value, and working fine!
How do I add another field in the parent NWB to a session value?
I've tried using the "Session Variables" under the Advanced tab of the parent NWB, but the column-value of the selected record is not available in the child NWB?
-
You could do something like when "user clicks row" embed on the parent browse do a file access to bring back the record based on the unique sessionid and then set your session value.
-
Hi Rupert,
>> How do I add another field in the parent NWB to a session value?
you don't. (You're thinking about this backwards.)
You don't add "more stuff" when the click is done because this would be expensive. Rather, when you _need_ more stuff you use the SessionValue that has been set to load the record and read out anything and everything you need.
So don't think about it as "priming more" - think about it as "fetching necessary" when you need it.
cheers
Bruce