Thanks for your reply Elad...
Yes, this is correct.
I presume cust to be a user defined type with data members of:
The task as I interpret it is to read customer data from a file to fill an array of cust in the program.
I'm trying to figure out how to do that...
The file apparetly contains how many cust records are in the file, but you have chosen to ignore that information and made the array of cust a fixed size of 50. You could use the information read in to dynamically create the array of cust to the exact size of numrecs if you want.
This was just a typo on my part, I am using custFile.
You should use custFile, not cust to read in the information from the file in the while loop.
Ok, I'm having a hard time figuring out how to do this. I can't just drop the [x], I need to revise the code. Can you give me an example??
In the set function, the arguments should just be FirstName or ChkId or PIN_num or whatever, so drop the terminal [x] from the parameter.