Discussion Locked

MsAccess 97 - How can I attach files?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to write a database application that allows me to catalogue a number of miscellaneous files, thus I would like to store the file itself (Excel, Word, PDF, MsAccess, text, executables...) in a database. I have the option of having (a)just a MsAccess database or (b) a SQL server back end and an MsAccess form as a front end. How should I go about setting up the database to accept attachments (what datatype?) and how do I set up the form to accept attaching and detaching of these files?

Your help will be greatly appreciated.

3 replies

by donq

Microsoft Access has a data type "OLE" meaning Object Linking and Embedding. Build a Table to house your "objects" created outside of Access with a seperate column for each unique OLE Application (data type) you need to store. There is considerable on-line Help for OLE within Access and the "Access Language Reference" that accompanies Access is a great read (for geeks). Make Access - Access work before attempting Access - SQL Server.

OLE objects are stored as addresses so whatever you reference MUST be accessable (linked vs. imbedded).

This discussion is closed to new replies.