i have this program for an school assignment. the goal here is to open an exicting data file, have it sorted, then add up the total gross for each individual and then get the total gross for the dept. The program works until it opens up and then i get this error message
Degug Assertion Failed
Expression:String Subscript out of range
i have gone over the program at least 100 times and i can not for the life of me find out why the program is doing this? all my arry elements are correct as far as i know, and the strings should work. Im hopeing that some one elses eyes will catch something that i may have missed. Here is the code: