Nice Try Lee but no cigar
I'm doing that but that's not what I want.
This is all dynamic and it may be dealing with 1 or more buffers.
At the moment I got through each buffer.
hTTbuffer:SET-CALLBACK-PROCEDURE("after-row-fill","adfAfterRowFill" + STRING(iBufferNo,'99'),TARGET-PROCEDURE).
For buffer 1
PROCEDURE adfAfterRowFill01 :
DEF INPUT PARAMETER DATASET-HANDLE hDataSet.
RUN adfAfterRowFill IN TARGET-PROCEDURE (1,DATASET-HANDLE hDataSet BY-REFERENCE).
END PROCEDURE.
Then in adfAfterRowFill
PROCEDURE adfAfterRowFill :
DEF INPUT PARAMETER iBufferNo AS INT NO-UNDO.
DEF INPUT PARAMETER DATASET-HANDLE hDataSet.
hTTbuffer = hDataSet:GET-BUFFER-HANDLE(iBufferNo).
What I'm trying to do is go straight to adfAfterRowFill, but I need to know that buffer is currently being filled to get hTTbuffer.
I could fill by buffer, but then I'll have to dynamically ensure I get the right children of each parent etc.
I'm sending from Windows Live and the peg may reject, but if you reply to peg as well they'll see.
Miles