Hi
I'm looking for a way to check the size of the file that was used to populate an Access OLE field.
I've got a file on hard drive (any type), and I then add it to an Access database's OLE field. Now I would like to know how big was the orginal file.
I tried the Access Len(OleField) function, but that is not accurate - probably because of the headers that Access add to OLE objects.
I also tried to save the OLE field back as a file on the hard drive (on 3 different ways) but the new file's size is not the same as the file before it was added as the OLE object.
Especially PDF files are 10x bigger.
Any ideas?
I'm looking for a way to check the size of the file that was used to populate an Access OLE field.
I've got a file on hard drive (any type), and I then add it to an Access database's OLE field. Now I would like to know how big was the orginal file.
I tried the Access Len(OleField) function, but that is not accurate - probably because of the headers that Access add to OLE objects.
I also tried to save the OLE field back as a file on the hard drive (on 3 different ways) but the new file's size is not the same as the file before it was added as the OLE object.
Especially PDF files are 10x bigger.
Any ideas?