Progress
Programming
Handbook
Defining a Read-only Browse
You can browse database records by defining a browse widget for the query and opening the query. This is known as a read-only browse. Once the user finds and selects a record, your application uses the selected record, which the associated query puts in the associated buffer or buffers. The following code example illustrates a simple read-only browse for the customer table:
When you run this example, the following browse appears:
![]()
The DOWN option of the DEFINE BROWSE statement tells Progress how many rows to display. If the TITLE option is not used, then the title bar above the column labels does not appear.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |