Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Can't post a SetItem

$
0
0

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


Viewing all articles
Browse latest Browse all 2935


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>