I have a database where I want to add pdf files to each record. Should be 3 pdf files (scanned documents) per record on average.
So far I have found 2 ways of handling attachments:
- Using linked OLE objects
- The access 2007 attachment feature
The application will reach more than thousand records easily, and with 3 pdf files per record, it will probably bloat too much using either option.
Is there a way to do this differently? And if so, how should I do it?
I can imagine having a linked table like:
Attachment(AttachmentID, ForeignKeyToMainTable, AttachmentFileName, AttachmentPath)
But I don't know how to implement this on my forms where I edit or add records.
What I want basically:
- attach links to pdf files to records and rename the files to the primary key with an autoincrement (file 1: PK_1, file 2: PK_2, etc.)
- Have links to the pdf files and be able to click them from forms so they open in Acrobat reader
Anyone have advice? Thanks!
So far I have found 2 ways of handling attachments:
- Using linked OLE objects
- The access 2007 attachment feature
The application will reach more than thousand records easily, and with 3 pdf files per record, it will probably bloat too much using either option.
Is there a way to do this differently? And if so, how should I do it?
I can imagine having a linked table like:
Attachment(AttachmentID, ForeignKeyToMainTable, AttachmentFileName, AttachmentPath)
But I don't know how to implement this on my forms where I edit or add records.
What I want basically:
- attach links to pdf files to records and rename the files to the primary key with an autoincrement (file 1: PK_1, file 2: PK_2, etc.)
- Have links to the pdf files and be able to click them from forms so they open in Acrobat reader
Anyone have advice? Thanks!