This trigger is called from the form when form is searching for some record. Which is parameter ('<' '>' '<=' etc.). This code is there because:
if you set filter for primary key (for example customer no.) on card form, you close this form, someone delete the record with this no. and after that if you will try to open the card, you will have error. This code will in this case reset the filter and the form will be opened correctly.
Comments
if you set filter for primary key (for example customer no.) on card form, you close this form, someone delete the record with this no. and after that if you will try to open the card, you will have error. This code will in this case reset the filter and the form will be opened correctly.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.