Control on Open Form

cwoonlcwoonl Member Posts: 14
Please advice--

I have two forms, says A & B. while form A is open, i have to block user open form B and vice versa.

All advice is welcome.
Thank you, #-o

Comments

  • KonradKonrad Member Posts: 30
    I would use table or better single instance codeunit to record openings and closings of forms for particular userID. Then you can check in onOpenForm trigger whether the other form is currently in use.
    Don't think there is any standard way to do this in navision.
    What do you need that for?
  • cwoonlcwoonl Member Posts: 14
    Thanks Konrad for reply.

    Your advice is appreciated.

    The scenario for this requirement is because, user wish to have different No. Serial generate based on form they open. As std Nav No. Serial generation at table level.

    please advice if other suggestion.

    Thank you.
  • KonradKonrad Member Posts: 30
    Have a look at SalesHeader table (GetNoSeriesCode, onInsert functions) and it's forms (SourceTableView property).
Sign In or Register to comment.