Progress
Application Development
Environment — Getting Started
Dynamic Buffer/Temp Table Module
Progress puts the records that it reads into a buffer. Once a record is in the buffer, its fields are available to your application. Before Progress Version 9, you set the table for that buffer at compile time and could not change it at run time. Progress Version 9 introduced new language elements that enable you to build dynamic buffers. With a dynamic buffer, you can select the table for your buffer at run time. The buffer fields enable you to select the fields to be displayed.
Choose the Dynamic Buffer/Temp Table button on the SportsPro main window to launch this module:
![]()
This module demonstrates a non-SmartObject approach to separating the user interface and business logic portions of an application. The initializeObject procedure runs a procedure on the AppServer partition that populates the list of database tables. Choosing the Open Query button runs another procedure on the AppServer partition. That procedure populates a dynamic temp table and passes back the handle for that temp table.
Table 2–4 describes the major objects used in the Dynamic Buffer/Temp Table module.
For more information on building dynamic buffers and temp tables, see the chapters on temporary tables and on using dynamic widgets in the Progress Programming Handbook .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |