No report run on startup form

ROBOROBO Member Posts: 39
When i startup Navision and run a form a report won't start and its on the form - onopenform (). When i close the form and start it again the report will run.
Can anybody help?

ThanX

Comments

  • ara3nara3n Member Posts: 9,257
    It does run it just runs it in the back of your form. Move the form around, Don't close the form and you'll see your report behind the form. I've tested and it work in 3.7.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ROBOROBO Member Posts: 39
    Sorry i was not clear enough. The report runs but it doesn't execute some commands(like a simulated button click). When i put a message command in the form it will popup.
  • krikikriki Member, Moderator Posts: 9,118
    I think it is because you run the report in the "OnOpenForm". Meaning you run the report and THEN the form becomes visible, hiding the report. So the simulated buton-click in the report is not succesfull, because the form is not yet visible.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ROBOROBO Member Posts: 39
    is there an other way to do it?
  • bobnavisionbobnavision Member Posts: 159
    I think you shoud run report from command button on the form , if its not neccesary to run it when you open a form.

    rgds
Sign In or Register to comment.