?
Solved

Count instances of an item with certain values and display in infopath

Posted on 2011-09-30
3
Medium Priority
?
1,097 Views
Last Modified: 2012-05-12
Hi everyone,

I have infopath form and I have a data connection in it connecting to the sharepoint list I am working with.

Now I am trying to read certain column, let say column 'x' in sharepoint list and count the number of instances in that column that contains certain value, let's say 'y' and finally display that count information in infopath form.

How do I do that? I looked around and couldn't find any quick solutions.

Any helps will be highly appreciated.

Thanks,
Prem
0
Comment
Question by:KoolAsIce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:SharePointGirl
ID: 36901667
You need to do it in code bwhind. Write a CAML query and select your data.

Alternatively write a web service to get the data back.

0
 

Accepted Solution

by:
KoolAsIce earned 0 total points
ID: 36906933
I was able to do it with infopath formulas. thanks for your input!
1
 

Author Closing Comment

by:KoolAsIce
ID: 36935310
I was able to figure out it myself.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question