Method Community

 

Export to Excel when a Grid has column with SQL override

Last post 08-08-2016 5:33 PM by alexhuang. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-04-2016 4:35 PM

    Export to Excel when a Grid has column with SQL override

    Hi,

    I have a case when a column with SQL Override, the grid can display date correctly. However, when it is to export to Excel via action, the method says the file is ready to download with a link "Download Excel Report". By clicking this link, it always show "404 - File or Directory not found". What is wrong with this?

    [edited[

    Seems like if I have "ORDER BY" in SQL, then it failed to output, is that a known issue?

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
  • 08-08-2016 9:55 AM In reply to

    Re: Export to Excel when a Grid has column with SQL override

    Hi Alex,

    Are you able to send me the name of the Screen you are seeing this issue on So I can take a look? 

    As you mentioned, the 'ORDER BY' is known to cause some issues when downloading Reports. Is the download working for you withing the Order By clause?


    Thanks Alex.


    -Ben

    Ben Hargreaves
    Senior Support Specialist
    Method:CRM
    b.hargreaves@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 08-08-2016 5:33 PM In reply to

    Re: Export to Excel when a Grid has column with SQL override

    I gave up testing on this by using "Order by" in my SQL with other workaround, so no screen for you at this moment. Yes, whenever I have "Order by" in my SQL, export to Excel fails always, and it works if I remove "Order by".

    --

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
Page 1 of 1 (3 items)