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
VIKTORVIKTOR 

Report on accounts with notes

Greetings !

Is there a way to create a Salesforce report that list all accounts which has atleast one note on them?

Thanks in advance.


jf317820jf317820
the only way i can think of is:

Select a.Id, (Select Id From Notes) From Account a

and loop through the account records who have an inner query (Notes query) size of greater than 0.

hope this helps...