Yeah, just looping, That's how it's done. The reason why is because sometimes you want to get the text and sometimes the value. For example if I want the text of the employee "borncorp" I would do result.getText , if I want the internal id I would use result.getValue .