RealBASIC help...

Dachi

Solid State Member
Messages
11
So I want to make a program that will allow you to input data (name, D.O.B, weight etc.) into various textfields and the data will be saved to a text file.

Also, a unique code will be made from each persons details using the mid function, ie if their first name was Fred, they weighed 123 lbs and were 100 cm tall then the code would be f123100

So far I can create the text file with all the data, but it asks me where I want to save it and I was wondering how to get my program to automatically create this file in the same directory it is run from?


My second, bigger problem is making a search function for data in the text file. If I search for Fred's code it should only display his details and nobody else's, and I also need a function for displaying the maximum and minimum values of weight and height.

I have no idea where to begin on the second problem, so any help at all is great.


Also I'm on a mac, if it matters.
 
Back
Top Bottom