If your reply will be "you shouldn't store documents within an Access database" please do not waste the space. I don't have a choice in the matter.
Lets say that you have a table tblTest with 2 fields - an AutoNumber and an OLE Container. Now suppose that there are two records in this table. The first has a Word document stored in the OLE Container. The second has an Acrobat document stored in the OLE Container.
Access knows (at least for the MS products) what type of file is stored in the OLE field. You can see this if you open the table in Access. A Word document is listed as "Microsoft Word Document". The Acrobat document is list as "Long binary data".
My question: How do I access the properties to see whether it is "Microsoft Word Document" or "Long binary data"?
Thanks.
Lets say that you have a table tblTest with 2 fields - an AutoNumber and an OLE Container. Now suppose that there are two records in this table. The first has a Word document stored in the OLE Container. The second has an Acrobat document stored in the OLE Container.
Access knows (at least for the MS products) what type of file is stored in the OLE field. You can see this if you open the table in Access. A Word document is listed as "Microsoft Word Document". The Acrobat document is list as "Long binary data".
My question: How do I access the properties to see whether it is "Microsoft Word Document" or "Long binary data"?
Thanks.