How to store lines from a file as a variable
When you use inputfile >> _organisationrecord.name it stops at the first whitespace character. Hence, only Stephen will be read and stored in organisationrecord.name. You need to change your strategy a bit. Read the contents of the file line by line. Stop when there are no more lines left. Process each line as you seem fit. … Read more