screen buffer access

Steve McKean

New Member
Don't know if you got an answer to this yet but in case you haven't you can pass the handle to the record buffer.

def var hbuffer as handle no-undo.

function myfunction returns logical (input hbuffer as handle) forward.

hbuffer = buffer tablename:handle.

myfunction(hbuffer).


function myfunction returns logical (input hbuffer as handle):
bla, bla, bla.

end.

Of course you'll have to work with buffer-fields and buffer-values inside the function.

HTH.
 
Top