Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Getting count() from ROQL (1 Comment)

$
0
0

Topic by Bryan Scarborough

Hello, 

I have using a ROQL query to get the count of incidents for a particular organization.

My problem is that once I run the query I have no idea how to get the result. This is the first time I've tried to access data that wasn't a RightNow type.

The query is 

string QueryString = "SELECT count() FROM Incident I WHERE I.Organization.ID=" + orgID + ";";
 
and we are using the Nov 2012 version

Thanks


Viewing all articles
Browse latest Browse all 2504

Trending Articles