NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on May 21, 2012, 05:02:18 AM
-
Hi,
It is impossible to edit global variable from a memory form. the entry field can´t show the value. no way to do this.
thanks
-
Hi Walter,
yes- there is a way.
Be aware that we're talking about an Unthreaded, Global variable here - so this variable will be used for _all_ users. This means it's usually some setting for the server itself, not some setting for a specific user.
the method is as follows;
a) add the field to the form, just like any other field.
b) in the form procedure, go to the RestoreMem routine, and set the SessionValue. For example;
p_web.SSV('someGlobal',someGlobal)
Cheers
Bruce
-
:) it´s working...
thanks