[progress Communities] [progress Openedge Abl] Forum Post: Re: Buffers Not Released In...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
There is a subtlety with dynamic buffer creation. In the static world, we say DEFINE BUFFER myField FOR _Field. And we get a named, distinct buffer. IN the dynamic world, CREATE BUFFER hBuffer FOR _Field. Gets us the DEFAULT buffer (ie not a named buffer). To do that you must say CREATE BUFFER hBuffer FOR _Field BUFFER-NAME “firstBuffer”. You’re also not specifying the (logical) db name for the _Field and _File buffers. Might that be something (or is it just from the simplification). You should also be deleting the dynamic buffers (a finally block is a good place to do so).

Continue reading...
 
Status
Not open for further replies.
Back
Top