User attribs

I am trying to set a user attrib, I can not see why this syntax does not work. I am looking for a working example of syntax, cheers.
Syntax'
setuserproperty(atrb,'bob':U).

getuserproperty(atrb).

MESSAGE RETURN-VALUE
VIEW-AS ALERT-BOX INFO BUTTONS OK. '
 
mpowell_esq said:
I am trying to set a user attrib, I can not see why this syntax does not work. I am looking for a working example of syntax, cheers.
Syntax'
setuserproperty(atrb,'bob':U).

getuserproperty(atrb).

MESSAGE RETURN-VALUE
VIEW-AS ALERT-BOX INFO BUTTONS OK. '
Where is RETURN-VALUE suppose to be coming from? Where's the run statement?

DEFINE VARIABLE v-msg AS CHARACTER NO-UNDO.
setuserproperty('atrb':u,'bob':U).
v-msg = getuserproperty('atrb':u).
MESSAGE v-msg
VIEW-AS ALERT-BOX INFO BUTTONS OK.
 
Back
Top