DataMinerHome
Registered User.
- Local time
- Today, 12:57
- Joined
- Jan 4, 2010
- Messages
- 57
I have about 25 forms in my database (Access 2007), each of which contains between 3 and 6 unbound object frames. All of these are linked, NOT imbedded. Yet the presence of these linked OLE objects seems to cause the db to bloat, by something on the order of 1 to 5 MB per frame!
The links are to files external to the db, and the source doc changes with each record on the form.(Code in the on-current event handles this). The external files are either .bmp, .jpg or .pdf. But when I create the unbound object frame, Access requires me to specify "Adobe acrobat, microsoft photo editor" etc. And yet magically, when I change the source doc, Access seems smart enough to change the class and OLE class to the appropriate one.
What do you think I should be setting the OLE class to when I create the object? Should I be setting it myself somehow at runtime when I set the source doc? But isn't the OLE Class read only?
So, I am wondering if there is a better way to do this to keep my database from bloating to the size of the known universe? I don't need to be able to edit the OLE objects within Access.
The links are to files external to the db, and the source doc changes with each record on the form.(Code in the on-current event handles this). The external files are either .bmp, .jpg or .pdf. But when I create the unbound object frame, Access requires me to specify "Adobe acrobat, microsoft photo editor" etc. And yet magically, when I change the source doc, Access seems smart enough to change the class and OLE class to the appropriate one.
What do you think I should be setting the OLE class to when I create the object? Should I be setting it myself somehow at runtime when I set the source doc? But isn't the OLE Class read only?
So, I am wondering if there is a better way to do this to keep my database from bloating to the size of the known universe? I don't need to be able to edit the OLE objects within Access.