Apr 14th, 2012, 11:32 PM
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:
Since this file will only cosist of one record, i don't know how i would save it.
FilePut(1, OnePerson, NumberOfRecords + 1)
i tried FilePut(1, OnePerson, Index) But it doesn't work.
Apr 15th, 2012, 04:33 AM
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.
Click Here to Expand Forum to Full Width