Home > General > Editing an Advanced Find Query in Excel

Here is a video tutorial of how to take a case advanced find, edit the query, troubleshoot errors in SQL Management Studio, and update your excel query.

The steps are:

  1. Run an advanced find in CRM
  2. Export it to Excel as a Dynamic Worksheet
  3. Open it, save it as an excel file.
  4. In Excel 2007, Click on Data in the ribbon, then Connections.
  5. Click Properties
  6. Click on Definition tab, edit the query
  7. Click ok, then click close

5 Responses to “Editing an Advanced Find Query in Excel”

Comments (5)
  1. Your video is very useful for onPrem solutions but I am connecting to a hosted CRM system and everytime I try to edit the sql it shows it as a web query which you cant edit. Does that mean for hosted solutions you cannot manually edit the raw sql that is executed?

    • Dan,

      Make sure you save it as an xlsx file once you have opened it, otherwise it will stay in an xml format which won’t save the changes. Once you have it saved as an xlsx file you should be able to edit the excel file. If you would like I can work with you to get your file to work.

      -Carlton

  2. Hi Carlton, thanks for the reply but i have tried that exactly and when editing the query it presents you with the web query window instead of the SQL. The Command Text box is greyed out and empty and the connection string says https://orgname.domain.com/_grid/print/print_data.aspx?tweener=1

  3. I’m suffering from exactly the same problem as Dan above… A resolution would be really useful.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2011 MSCRM Blogger

This site does not necessarily represent the views of Microsoft. The material posted on this blog are provided AS-IS, and you are to use the content at your own risk. Some of the code and information on this site may use unsupported methods. If you experience any problems using the information provided through this website, please post a comment and we will do our best to assist you, however, we can in no way guarantee support or resolution.

Microsoft Dynamics®, Silverlight®, Visual Studio®, and the corresponding logos are a registered trademarks owned by Microsoft Corporation. MSCRM Blogger has made every effort to supply trademark information about company names, products, and services mentioned on this blog. All third party trademarks are the property of their respective owners. Any rights not expressly granted herein are reserved.