Thanks Stefan, that has given me hope. I confess that I am a self taught newbie on Progress, having spent most of my professional life on Oracle, SQL Server and MSSQL.
I have made the changes you suggested, and defined variables for the Buffers and then created the buffers. My problem is now...