[progress Communities] [progress Openedge Abl] Forum Post: Why Are Buffers Of...

  • Thread starter Thread starter cverbiest
  • Start date Start date
Status
Not open for further replies.
C

cverbiest

Guest
I'm wondering what's the reason behind the restrictions on reference-only buffers. remove the comment // to get the errors define temp-table t-refonly reference-only field tro_id as int. run bind.p(table t-refonly bind). //do for t-refonly: end. procedure ShowId: //define parameter buffer bt-refonly for t-refonly. end. ** Illegal nested block statement reference to table t-refonly. (243) ** Could not understand line 5. (196) I wanted to to add the strong scoping to prevent usage of the default buffer, this works for other buffers but not for a bound temp-table. Cannot use REFERENCE-ONLY buffer t-refonly as BUFFER parameter. (14303) ** Could not understand line 9. (196) I"'m in the process of replacing a shared temp-table with a temp-table that is maintained by an object. In order to make the changes to legacy code minimal I have provided a bind method that gives the legacy code access to the temp-table. Now I still have to rewrite half of the code because of this buffer parameter restriction. All code using the temp-table binds to the same temp-table instance.

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