Following error occurs in NAV 5 SP1.
Considers 2 company's:
Company A: This company has job 1 to 10
Company B: This company has job 11 to 20
When I work in company A, I open de Job card, with job 4.
I close this one and open company B.
When I now try to open the job card, I get the following error:
Microsoft Dynamics NAV
There is no Job within the filter.
Filters: No.: 4, Advanced Job: Yes
OK
It seems that Nav is trying to open this same Job card (Job 4), eventhough I am working in another company.
This company does not have this Job, so the error makes sence in that way...
Does anyone have a clue how to solve this?
Thanks in advance!
0
Comments
try to set the SaveTableView property in the form to "no". Drawback: no filters will be saved. Another workaround would be to test on the form if the filter is empty:
OnOpenForm:
If isempty then reset;
This will open the form without filters if the filters lead to an error. Should also apply to pages btw...
with best regards
Jens
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
even this in OnFindRecord() of the form would avoid the error, but not clear the filter:
Interesting option, though.
with best regards
Jens