Hello,
I placed an event script on my tree form "onload" that is:
sub SQLUpdate
Dim myDataSource
set myDataSource=map.layers("tree").datasource
Dim sqry
sqry="update treeg set TRG_STAT_Cd=1 where REMOVED='False'"
myDataSource.execute(sqry)
myDataSource.close()
end Sub
The script runs without error, but it does not update the values in the layer. Any suggestions?
Much Appreciated,
Matthew