OnLookUp trigger - OnValidate trigger

Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
edited 2001-08-31 in Navision Attain
I noticed that, when programming an OnLookUp trigger for a field in a table, Navision Attain executes the OnValidate trigger of the same field afterwards.

Before (NF 2.60, NF 2.01, ...), the OnValidate trigger was never executed, when the OnLookUp trigger was fired.

Can someone confirm this behaviour?
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)

Comments

  • stamenstamen Member Posts: 13
    That's right.
    Stamen Delikostov
    Intelligent Sysytems Bulgaria Ltd.
    email: s.delikostiv@intellisyst.com
  • eromeineromein Member Posts: 589
    Don’t program a lookup in the lookup trigger in a table. Program it in a function in a table witch you call from the onlookup trigger in a form field. Just be sure you fill the Text variable and the expected Boolean. Now Navision will not automatically validate. And you won’t see the difference between a programmed or a standard lookup.

    Greetz,

    Emiel Romein
    The Netherlands
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
Sign In or Register to comment.