There is a tool on U2U resource Center which will help generating CAML queries for the given object in MOSS. URL to Down load the tool: http://www.u2u.info/SharePoint/U2U%20Community%20Tools/Forms/AllItems.aspx URL on how to use this tool: http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1252 Thanks to the owner which has made the life simpler of CAML query writter.. Cheers !!!