Use bind variables in the ViewObject Query tab. Make sure that you check 'Use ? style parameters' and in the WHERE clause include ---> TableName.Attribute = ?
in the code of the ViewImpl file (or whever you are instantiating the ViewObject) use:
public boolean doSomething(String value1, String value2) {
....
this.setWhereClauseParam(0,value1);
this.setWhereClauseParam(1,value2);
this.executeQuery();
....
}
namely bind parameter 1, bind parameter 2
J McCann