You need to sign in to do that
Don't have an account?

SOQL query to get Custom Object records with Attachmnets
Need a SOQL query to get the records with its attachmnets alone, don't need records with out attachmnets.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You should use inner query to do this.
check the below link.
https://developer.salesforce.com/forums/ForumsMain?id=906F000000090ugIAA