-
Nov 7th, 2006, 11:45 PM
#1
Thread Starter
Addicted Member
Keeping sequential files in a MDB file
I have been keeping some simple Ascii text in a sequential file using the old style Open and Print # commands, but would now like to keep this in the actual MDB files so it is all in one place and easier to backup. It is simple things like what you typically find in a INI file. Since each line is not really a record, I am not sure where to begin. I am familiar with defining the table name, fields and indexes with normal tables. In essence it is a simple 1 dimensional array of 50 elements. Would you define 50 fields and only have 1 record in it or what?
Any suggestions would be appreciated.
Mickey
-
Nov 8th, 2006, 08:36 AM
#2
Re: Keeping sequential files in a MDB file
Two columns - one should be IDENTITY or AUTONUMBER and the primary key...
The other column will be a big old VARCHAR() field - it will contain your .INI data.
It will look your like your INI file - but with the added benefit of having a "row #" column - if you ever needed it (to update or delete a row).
-
Nov 8th, 2006, 08:48 AM
#3
Addicted Member
Re: Keeping sequential files in a MDB file
For storing files you could use the LongBinary Data field.
This field can be used to store any type of file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|