Run preview directly

GonzaloGonzalo Member Posts: 19
Hi there,
In a posting codeunit which I've developed, when I've already posted a document I want to run a report directly in preview mode. (I don't want to pop the request page)

Do you know if is that possible??

Comments

  • GonzaloGonzalo Member Posts: 19
    It's in NAV 2016
  • GonzaloGonzalo Member Posts: 19
    Yes, I found the way. It's not the best way, but it works!! B)

    SendKeys DotNet System.Windows.Forms.SendKeys.'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    SendKeys.Send('%{r}');
Sign In or Register to comment.