dynamics crm - Is it possible to limit the amount of results returned in a response when using a QueryExpression in CRM 4 -


basically have queryexpression returns on 3000 results. need use between 50 , 200 of these. if using normal sql use select top 200..... there way in crm using queryexpression or fetchxml?

in queryexpression:

queryexpression query = new queryexpression();  query.pageinfo = new paginginfo(); query.pageinfo.count = 200; // or 50, or whatever query.pageinfo.pagenumber = 1; 

in fetch xml:

<fetch mapping='logical' page='1' count='200'> ... 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -