• Doomosthenes
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Is there a way for a trigger to tell if edits to records are from a mass upload/edit?

 

I have a trigger that recalculates lat/long fields when the address of an account is changed, but I know the trigger will give me problems when I try to upload or edit accounts en masse because of the 10 query limit.

 

So I need to figure out how to create a trigger that will update the fields when users change the addresses one at a time, but still allow a mass update or edit to do the same without triggering errors.

 

I'm wondering if someone out there with more experience has tried to do something like this before, or have any ideas?