I've been away from PowerBuilder for quite a while and now have to maintain some old code. I want to change the value of a field in a datawindow when the value of a different field changes. I put the following script in the ItemChanged event. When I execute the script below I get "Unknoqn function name: SetItem )
What am I doing wrong?
if dwo.name = 'SSN' then
if len(trim(data)) = 9 then
this.post event SetItem(1,"SSN_validated","Y")
else
this.post event SetItem(1,"SSN_Validated","N")
end if
end if
TIA
LAS