If you thought CRM 4.0 was tricky, try working with CRM 1.0, CRM 1.2 and CRM 3.0!

Thankfully all my clients are on at least CRM 4.0…

Another great tool for generating FetchXML code is “Stunnware Tools for Microsoft Dynamics CRM 4.0”. It gives you a bit more flexibility when it comes to creating certain links/joins that can’t be easily done in CRM 4.0 Advanced Find.

The community edition is free and has a bunch of other goodies like a sitemap and isv config editor as well as a trace file viewer. (And a bunch more…) http://www.stunnware.com

It seems that this approach doesn’t work in Windows 8 / IE10 because the resultRender.FetchXml object isn’t there.
Fortunately there is another simple way: instead of searching for resultRender.FetchXml, type advFind.FetchXml in the Javascript console and it will display the fetchXml.