function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Janardhana ReddyJanardhana Reddy 

How to get Files from Document object

How to get FIles from Document object through apex coding .
Any one help please
SonamSonam (Salesforce Developers) 
Following links should be helpful to understand how to get query for the files from the document object:
http://developer.force.com/cookbook/recipe/retrieving-email-attachments-and-associating-them-with-records

(replace jobApplications with document object)

Also refer:

http://salesforce.stackexchange.com/questions/11841/is-there-a-superclass-for-document-and-attachment

http://salesforceapexcodecorner.blogspot.sg/2011/09/attach-document-in-attachment-object.html