I am making an address book in AMS and I am stuck, have tried the examples Ive found, but not managed to sort it right.
I have a combo box listing various statuses (ie Mr, mrs etc) and then seperate input boxes for the rest of the information, this is then saved to a text file and it appears like this:
When this is saved, it saves the file with the first & last name ie Donnald Duck.file BUT the problem I am having is then loading this file back and putting the different lines back in the boxes, as I want a view / edit sort of thing so I guess I need to know how to read each seperate line from the file and then intert it in the right boxes?Mr Donnald Duck
45 Duckpond Lake
Riverside
Riverborough
AB1 2CD
01234567890
01234567890
email.address.here@here.com
If I just do a textfille.readtostring, it all displays right in a paragraph, so i know the file is loading right, but how to seperate the lines?
Please help as I am going to share this with the AMS community when its completed to say thankyou for all the help Ive recieved!

Reply With Quote

