Office Live Small Business Community Forums

List formatting when no row matches filter criteria

Last post 07-27-2008 10:28 AM by LearningOLive. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
07-21-2008 8:49 PM
LearningOLive Joined on 02-27-2008 Posts 15
List formatting when no row matches filter criteria

Hello there,

I want to publish a list view filtered based on date (oe or two weeks of data) but the problem comes when none of the rows meet the filter criteria. At that point I want to show a text line of the sort "No row found" rather than leaving an empty space.

Any one can suggest an idea, how to do this?

Thank you.

07-21-2008 8:54 PM In reply to
royster Joined on 02-12-2008 Posts 1,478
Re: List formatting when no row matches filter criteria

So you know how to filter the list already based on date then?

To show the message "No row found", you can check the count() in the XSLT for the XML dataset. If it's zero, then you know ther'es no match and can output that message.

Royster 

07-27-2008 10:28 AM In reply to
LearningOLive Joined on 02-27-2008 Posts 15
Re: List formatting when no row matches filter criteria

Thank you Royster for your hint. 

I am filtering by date using a Office Live View. But I have ZERO experience with XSLT.

LearningOLive

Advertisement