Hi SitesMassTec,
I'm sorry, but you miss the point. The code was intended to show you how to normalize the data from your TEMPEXPL - with all those empty fields - and how to create a cursor to drive the report
CREATE CURSOR csrReport (lcodi I, lor C(8), lco I, lno C(40), lqt...