If you've been a Notes/Domino programmer in LotusScript or Java for any length of time, you already know how to find all of the documents in a view or folder. But, have you ever needed the reverse: to find out what folders a document is in?
If you look in the Designer help, there's a documented way to do it. But then, there's the way you should actually use, and it's even not terribly tricky. Here's a blog post I wrote a while ago that tells you how: http://www.bobzblog.com/tuxedoguy.nsf/dx/show-n-tell-thursday-what-folders-is-a-document-in