Doug, Looks like your code should work. I suspect the problem is elsewhere. Are you sure that your DS is overlaying the Buffer in the Right place? The Offset to the new record image (in positions 65-68 of the First Trigger Parm) is Zero based. So you'll need to add 1 for the starting position of the Overlay. Also make sure that you've defined the Parm large enough to accept the Header Info, Before and After Record Images and the Null Maps. Just so you can compare, I've included the D specs that we use for defining Trigger parms in one of our Trigger pgms. Mike
Code

Reply With Quote