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?
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.
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?
Comments
if you don't mind........
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.
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?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.