Use dynamic buffers and buffer handles
- Last Updated: July 18, 2023
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
You can create a dynamic buffer at run time using this syntax:
|
The table-expression can be either a literal database table or temp-table name (both in quotation marks) or a variable or other expression that evaluates to a table or temp-table at run time.
You can also access the handle of any static buffer at run time:
|
Dynamic buffers are useful only when you really need to define the table name for a buffer at run time. You will find that in many cases you can simply get the handle to a static buffer and use that handle’s attributes and methods to manipulate the buffer dynamically, without creating a dynamic buffer at all.