setsetup=[variable]=[value]
save a Variable per Database for content to 255 Chars
writes this value in the setting table beas_sys_setup.
Getting the setting with variable: <setup:[varliable][:default defaultvalue]>
or from cache: <msetup:[variable]>
Example:
set:
setsetup=itemeditright=false
get:
use "<setup:[variable][:default defaultvalue]>"
if you don't set the defaultvalue, then beas return a emptry string, if no setup existing.
messagebox=Current setting: <setup:itemeditright:default true>
for Variables with content more then 255 Chars use
setsetup2=[variable]=[content]
<setup2=[variable]>
for settings per station use
setlocal=[variable]=[content]
<localset:variable>
In Powerbuilder
gapp.of_set(variable,value)
ls_result=gapp.of_get(variable,defaultvalue)
faster from Cache
ls_result=gapp.of_mget(variable,defaultvalue)
Table beas_sys_setup
md_id |
Mandant (not used) |
benutzer |
Only for User (not used) |
variable_id |
Name of Variable |
inhalt |
Value (char 255) |
longcontent |
long Content (ntext) for long values |
status |
Status of settings. You can set this in the configurationwizard |
statustext |
Statusinformation as Text. |
see