6 Replies Latest reply on May 21, 2013 9:58 PM by RJKSolutions

    I want to know how many values I would get before actually downloading the data

    kenyon21

      I'm getting an error that I've exceeded the max number of events allowed (only when I go for a large chunk of time, like 3 years).  I'd like to query for how much data would be returned by the user desired window of time and adjust my query in the code to grab the data the user wants in chunks rather than all at once.  How do I find out how much data is in the specific window of time?

       

      Here is the C# code I'm using to grab data:

       

      var rz = selectedAttribute.GetValues(myTimeRange, 0, uom);

       

      Here is my specific error message when I go for a large window of time:

       

      Failed to retrieve events from server.  [-11091] Event collection exceeded the maximum allowed.

       

      Thanks,

       

      =Steve=