View Single Post
  #1 (permalink)  
Old May 21st, 2013, 10:16 AM
rlntel rlntel is offline
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default SharePoint 2007 - Form Web Part used in custom search won't allow for count(//@ID)

I am using four Form Web Parts for filtering and searching rows on a DVWP. Three FWPs are providing filters to the DVWP where the DVWP is the filter consumer. The last FWP is providing a parameter; the DVWP is the parameter consumer.

On the Common Data View Tasks popout, I've configured the 'Sort and Group:' as [count(//@ID)]+ in order for the results to show the total number of records available after one of the filters is used.

The 'count(//@ID)' works great for each of the filter FWPs, but does not work for the parameter FWP. What is different about the parameter-providing FWP than the filter-providing FWPs.

The [count(//@ID)] code appears in code view after all the FWPs.

Any suggestions?