Consultor Eletrônico



Kbase P6425: How to "close" a dynamic buffer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/12/2002
Status: Unverified

GOAL:

How to "close" a dynamic buffer

GOAL:

You're working with dynamic queries so you will need to use a buffer. If you're using a dynamic buffer, what is the correct procedure for "closing it down"

FIX:

You need to RELEASE the buffer if you're using a DYNAMIC BUFFER.


This is the information you can find in the Progress Programming Handbook.

20.3.3 The Buffer Object
The buffer object corresponds to an underlying Progress buffer, which can be static or dynamic. A static buffer is one you define at compile time by using the DEFINE BUFFER statement, or by implicitly referencing a table in a 4GL construct such as customer.cust-num. A dynamic buffer is one you create at run time using the BUFFER option of the CREATE Widget statement.


Notes on Dynamic Buffers
- When you have finished using the buffer object, it is important to apply the BUFFER·RELEASE method, since Progress does not automatically release the object until the underlying buffer object is deleted.