I have a 2.0MB text file that is composed of lines of data for customers. Each line contains the customer account number along with additional information for that customer. I need to rapidly search this file for a given account number and return information for the customer.
I can do this easily using LINE INPUT but, as expected, it is painfully slow. Is there a better way to search a file and still be able to return data from the file?
Thanks in advance for any help!
I can do this easily using LINE INPUT but, as expected, it is painfully slow. Is there a better way to search a file and still be able to return data from the file?
Thanks in advance for any help!