Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have custom list, created a view. In that view there is column called response, this is multiline text field. I want to display the list item when it is non empty.

Note: I have created a other view which can display item when the value is empty by specifiying

When Column Contains is blank(no condition, empty)

share|improve this question

3 Answers 3

up vote 0 down vote accepted

I have implemeted the functionality using the following logic in designer!. This displays the logged in user requests where a column called "response" is NOTNULL. Response of type MultiLine Textbox.

** To Display a view with Multline NotNull Field and created by Current Logged User**

SelectCommand="<View><Query><Where><And><Eq><FieldRef Name="Author"/><Value Type="Integer"><UserID/></Value></Eq><IsNotNull><FieldRef Name="Response"/></IsNotNull><

** To Display a view with Multline Null Field and created by Current Logged User**

   SelectCommand="<View><Query><Where><And><Eq><FieldRef Name="Author"/><Value Type="Integer"><UserID/></Value></Eq><IsNotNull><FieldRef Name="Response"/></IsNull><
share|improve this answer

In SharePoint Designer open your list. In the area to the right for Views click "new".

Create a new view and then right click it and select edit in advanced mode.

Change <Query /> to

<Query>
   <Where>
      <IsNotNull><FieldRef Name="response" /></IsNotNull>
   </Where>
</Query>

Save your changes and check the results in your new view.

share|improve this answer

This is a very cheap workaround, but you could search for any times the field contains one of the vowels (a,e,i,o,u,y). Similar to this:

Search for any instance of a vowel

share|improve this answer
    
Sharepoint is not very handy! –  Hari Gillala Mar 20 '12 at 15:40
    
I like to think of SharePoint as a big logic puzzle where you always have to think outside-the-box. –  ThatGuyYouKnow Mar 20 '12 at 15:48
1  
Clever workaround, wouldn't have thought of something like that! –  Zork Mar 20 '12 at 15:59
    
Just for anyone else reading this and thinking WTF? you can only use Contains and Begins with on multi line text fields. –  Ryan Mar 20 '12 at 17:07
    
This is a kind of silly way of doing this. –  Robert Kaucher Mar 20 '12 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.