scottjo 0 Newbie Poster

I'm helping a friend to finish her final programming assignment. One of the problems is that I can't get the Account number to output properly. I just get "Error" to output when it's suppose to compare the input Account$ from the third file to the AccountsTable$ in the second file and output it if it is valid and output "Error" when it is not. All records whether valid or not are to be processed the same. Also, I'm suppose to extract the CityName$ from the CityTable$ based upon the Local Number (variable name Locals in code) from the third file. Local Number is numeric and the CityTable$ is alphanumeric. I'm not sure how to get this to work either. I have included the code and output as attachments to help see this problem more clearly. Any help would be very much appreciated. Her assignment is due Monday, May 3.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.