The most commonly used classes in the query object model

• Query: Contains the definition of the query. Can consist of one data source or several data sources if they are related.

• QueryRun: Class used to execute the query and loop through the result.

• QueryBuildDataSource: Links to one data source in the query. Can be

linked to another QueryBuildDataSource object to join linked data sources.

• QueryBuildRange: Enables the end user to limit the result by adding a value in the specified query range.

• QueryBuildFieldList: List of all the fields in data source. One QueryBuildFieldList object for each QueryBuildDataSource. By default the property Dynamic is set to true so that all fields are returned.

• QueryBuildLink: Links two data sources in a join. Is set on the child data source.