|
-
Aug 2nd, 2000, 09:16 PM
#1
Thread Starter
Addicted Member
Hi,
How can I use ADO to store and retrieve a file from a
database. What are some things that I need to know or do?
-
Aug 2nd, 2000, 09:33 PM
#2
Addicted Member
to give us a bit of a hand, when you say you want to store a file to a database, what database are you using, how big is the file, is it a text file?
this might help you get a better answer...
-
Aug 2nd, 2000, 09:49 PM
#3
Thread Starter
Addicted Member
Database Info
Hi,
Thanks for your reply. I'm planning on using a ACCESS
Database to store image files (JPG,GIF etc..) .
BTW : Could this also me implemented on a SQL Server?
Thanks
-
Aug 2nd, 2000, 10:00 PM
#4
Addicted Member
ok, i'm not sure 100% on the total solution but i believe you can use memo fields in access to save pictures etc. I've only really used them to store large text fields (greater than 255 characters) and i know they have a max length of about 64000 characters. So this might mean that your pictures cannot be bigger than 64k in size - i'm not sure.
also - you can use the "appendchunk" method to append binary data to an ado field - so i think you could use this.
what i'm not sure on is how to read in your binary data from the picture files that you have. I'm still looking for that now...
hope this might help
btw i assumed you know how to use ado to put normal data to a database seeing as though you have many posts. is this true?
-
Aug 2nd, 2000, 10:09 PM
#5
Thread Starter
Addicted Member
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
|