I need some help getting started on how to read and format a data file. The data file contains names listed at top of file followed by products ,product numbers and UPC. The file layout is listed below :
Name1
Name2
Name3
ProductName1
ProductNumber1
ProductCode1(links to Name1)
ProductCode2(links to Name2)
ProductCode3(links to Name3)
ProductName2
ProductNumber2
ProductCode1(links to Name1)
ProductCode2(links to Name2)
ProductCode3(links to Name3)
and so forth ...
Name1
Name2
Name3
ProductName1
ProductNumber1
ProductCode1(links to Name1)
ProductCode2(links to Name2)
ProductCode3(links to Name3)
ProductName2
ProductNumber2
ProductCode1(links to Name1)
ProductCode2(links to Name2)
ProductCode3(links to Name3)
and so forth ...