Consultor Eletrônico



Kbase P110884: How to tell what procedure a dynamic buffer object was created inside of?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/11/2005
Status: Unverified

GOAL:

How to tell what procedure a dynamic buffer object was created inside of?

GOAL:

How to tell what buffer objects a procedure has created?

FACT(s) (Environment):

OpenEdge 10.0x

FIX:

The SESSION:FIRST-BUFFER handle allows you to walk the tree of buffer objects but the buffer object handle does not have an attribute which tells what procedure created it. However, this can be synthesized by setting the PRIVATE-DATA attribute of the buffer object to the string value of the THIS-PROCEDURE handle. When walking the SESSION:FIRST-BUFFER tree this attribute can be queried to obtain the handle of the procedure which created the buffer object.