Settings dlg for internal too
pgCursor.SetThrowSqlException