My code for addbefore() and the preview of report:


My code for addafter() and the preview of report:


I want everything to show, including the new columns in the added dataitem. Why is it acting this way? (I really just changed addbefore -> adddafter)