Originally posted by: SP33Demon
Hi all,
I was wondering if Access had a way to store separate text files in a database? I don't think it's possible, but maybe somebody knows?
Thanks,
Speed
Originally posted by: DaveSimmons
Google "Access BLOB" (Binary Large OBject) but a memo field will work too. Google should find hundreds of code snapples.
Thanks for all of the suggestions guys. austin, I was thinking along the same lines as you, because the text will have to be formatted. My last resort was to save the path to the file, but if possible I didn't want to have a bunch of text files floating around!Originally posted by: austin316
Originally posted by: DaveSimmons
Google "Access BLOB" (Binary Large OBject) but a memo field will work too. Google should find hundreds of code snapples.
I found that Access has a lot of trouble with storing binary data into a table. Your best bets are to use a memo field if you just want to store alot of text, or if you must store the file, then just upload the file to your server and save the path to it in your database.
Originally posted by: SP33Demon
Thanks for all of the suggestions guys. austin, I was thinking along the same lines as you, because the text will have to be formatted. My last resort was to save the path to the file, but if possible I didn't want to have a bunch of text files floating around!Originally posted by: austin316
Originally posted by: DaveSimmons
Google "Access BLOB" (Binary Large OBject) but a memo field will work too. Google should find hundreds of code snapples.
I found that Access has a lot of trouble with storing binary data into a table. Your best bets are to use a memo field if you just want to store alot of text, or if you must store the file, then just upload the file to your server and save the path to it in your database.![]()
Originally posted by: EagleKeeper
Depending on your programming skills, just have one text file and use each record in the access table to contain the description, index for the start and size of the file section. (Similar to like a page break).
Originally posted by: mugs
Originally posted by: EagleKeeper
Depending on your programming skills, just have one text file and use each record in the access table to contain the description, index for the start and size of the file section. (Similar to like a page break).
Wouldn't that be a pain to do an update query on? Assuming you'd want to be able to change the contents of the text files. Any time you changed the length of one "file" you'd have to update the start location of every file that comes after it.
