create/update/reading a file
Posted on 2003-03-17
I creating a little app that analysis stock. I want the user to be able to select preferences that won't change for the, i.e. TaxRate, ImputationCreditRate and MarginLendingRate .
I have a form that contains 3 fields for input and a button that captures these inputs. I want this information to be saved in a file say 'C:\temp\ShareUser.dat'.
At startup this file is read and each bit of data is stored in corresponding variables to be used in later calculations. This file will only be created if the user actually go into Preferences form and changes values.
I quessing each field would be stored in either a line or comma dilimited format and a routine is required to update the appropriate field and read the appropriate field?
Need more info, just ask. Help! I'm new to this. :-(