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 two lists,

List A [Document Number, Name, Title,...] (document library)
List B [Information Number, Name, Title, Document Number] (simple list)

Now List B is getting all documents from List A as lookup column and letting user add documents name to List B specific Information Number, which can have 0, 1 or many documents.

Now I want to find out if List B has any document assosciated with it or not, but I can't think of any short way of doing it, Can someone recommend me the best way of doing it please.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

How about looping through the items in List B and checking if the lookup field value of the item is not null or empty and immediately breaking from the loop.

share|improve this answer
add comment

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.