If I understand you correctly, you are trying to load a binary file (XLS, PDF, DOC..etc) from an Access database and display it.
You really shouldn't store these types of files in Access. Sure, you can do it. It's possible, but it's not very reliable at all.
What I typically do is this:
- Setup your files table like this:
- When a user uploads a file, store the filename in the database and place the actual document in a folder that all of the documents will be located in.
- Now, when the user goes to the "Load Document" ASP page, just do a: