No report run on startup form

ROBO
ROBO 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

  • ara3n
    ara3n Member Posts: 9,258
    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
  • ROBO
    ROBO 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.
  • kriki
    kriki Member, Moderator Posts: 9,121
    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!


  • ROBO
    ROBO Member Posts: 39
    is there an other way to do it?
  • bobnavision
    bobnavision 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