Solved

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

Posted on 2011-09-30
3
904 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now