Suppress datawindow built-in popupTag(s): Datawindow
Powerbuilder pops up its own MessageBox when an error is detected in an Evaluate() or Filter() expression. If you want to suppress this kind of interaction and deal with the error yourself, do
dw_1.Modify("DataWindow.NoUserPrompt='yes'")