Tag Archives: Fetch XML;Query Expression

How to get the Total Results returned Record Count for a given query

In CRM2011 it is now possible to get the Total count of records returned by a query using Fetch XML. Using Query expression: You can set the ReturnTotalRecordCount property to True. Using FetchXml: You can set the same property as shown below. This can be helpful to show Record 1 of kind of status labels.… Read More: How to get the Total Results returned Record Count for… »

FetchXML v/s QueryExpression

These are the two distinct ways that you can query CRM using CRM SDK to retrieve the required information. QueryExpression is the mostly commonly used way for querying information in CRM. Probably because it uses the object oriented style of coding and so you have distinct classes for query, condition, columns etc. Youhave intellisense to… Read More: FetchXML v/s QueryExpression »