Alternative way to save file??
Ok, so in my database i have an admin form, where it allows you to do admin stuff.
Example: Allows you to enter price per membership, and change it.
Problem i'm having is how would i save it, since all previous files had more than 1 records, so it would be in the form of:
Code:
FilePut(1, OnePerson, NumberOfRecords + 1)
Since this file will only cosist of one record, i don't know how i would save it.
i tried FilePut(1, OnePerson, Index) But it doesn't work.
Re: Alternative way to save file??
Never use FilePut. That is VB6 style I/O. If you want to use a file to store records like a database then use XML or else use a BinaryReader and BinaryWriter.