Quantcast
Viewing all articles
Browse latest Browse all 2504

Unable to query an Organization based on a custom field

Topic by Bryan Scarborough

Content

Hello, 

I am trying to query an Organization based on the value of a custom field.  Below is the code that I am using, however, based on the error I am getting the query is not returning anything, and I have verified that the value does exist.

 

The error I am getting is on the last line of the code

 
System.IndexOutOfRangeException: Index was outside the bounds of the array.
 
BTW we are running Nov 2012, and I am writing this in C#.  I didn't see away to do this through Connect Web Services - SOAP, which is why I was trying ROQL.  I have a feeling the issue is in the syntax of the query.  
 
Please let me know where my problem lies, or if there is a better way to do this.
 
Thanks

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles