A
Alex_u4a
Guest
With the BIND option, not only the temp-table but also the buffer is shared between different routines. So a find on the temp-table in the called routine would make it available as well in the calling routine. So I think the first error makes sense since a reference to the buffer is (implicitly) made by using the BIND option outside the 'do for' block. I am not sure why it is not possible to create a parameter buffer for a bound temp-table, but it is still possible to create a normal buffer for a bound temp-table. So maybe you can accomplish what you are trying to reach by doing a find on this buffer after the temp-table was send with the BIND option: find bt-refonly where rowid(bt-refonly) = rowid(t-refonly).
Continue reading...
Continue reading...