You need to sign in to do that
Don't have an account?
![Leonard Leonard](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Query Attachments on Custom Objects
I'm having trouble getting running a query for attachments on my custom object.
SELECT Custom__c.Last_Name__c, (SELECT Attachments.Id, Attachments.Name, Attachments.ParentId, Attachments.ContentType FROM Attachments) FROM Custom__c
![werewolf werewolf](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
It would help if you mentioned what the error is.