Solved

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

Posted on 2011-09-30
3
1,050 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

690 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