Help with Questions

Naaz_navNaaz_nav Member Posts: 34
Is there any performance difference between setrange & setfilter?
& what is the basic difference between OnValidate & OnafterValidate trigger if both the triggers fire when the user leaves the field?

Comments

  • vijay_gvijay_g Member Posts: 884
    you should have try before posting here.
    if you don't mind........
    Naaz_nav wrote:
    both the triggers fire when the user leaves the field?

    you will have done both(Validate and onafterValidate) practically i think you would have been more clear than anybody will be explain it here.
    search for setrange and setfilter in forum.
  • kinekine Member Posts: 12,562
    OnValidate - the validation process is in progress, error fired in this means that the value is not valid
    OnAfterValidate - the validation process was finished successfully, error triggered there means error which will close the form. There is point for code which react on the fact that new and valid value was entered. BUT! These triggers are on form and I am sure that you are not programming some code which should be done in OnValidate of the table, aren't you?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.