Try OpenEdge Now
skip to main content
ABL Essentials
Using Queries : Why you use queries in your application : Using queries to populate a browse
 

Using queries to populate a browse

A query is the basis for the data definition for a browse object. You can't populate a browse with the data from a FOR EACH block, only from a query. The browse gives you a viewport into the query. The repositioning you can do by selecting a record in the browse or scrolling through its contents reflects the repositioning that you can do programmatically through the query. In fact, selecting a row in a browse automatically repositions the query to that row, making it the current row in the buffers the query uses.