Community
Showing results for 
Search instead for 
Do you mean 
Reply

Filtering on Histories - ACT 11

New Member
Posts: 5
Country: Canada

Filtering on Histories - ACT 11

I want to query the database for all Histories between Date A and Date B. I'm messing around with "Lookups" class but don't see anything related to Histories (only companies, contacts, opportunities, etc.). Could someone provide some sample code to do this? Thanks.
Nickel Super Contributor
Posts: 441
Country: UK

Re: Filtering on Histories - ACT 11

You can't lookup on histories.  You would need to loop the contacts getting the histories, then loop the histories searching for what you want.  It takes a little while to run.

 

Tom