i send parameter from SO
BEGIN
CLEAR(ImportMatSO);
ImportMatSO.Param("No.");
ImportMatSO.RUNMODAL;
END;
and in report,i create function like this
Param(ParDoc : Code[20])
DocNo := ParDoc;
first i send parameter is correct (SO001)
and then second (SO002)..... it appears the first parameter (SO001)
how to clear it?
Answers
What do you mean with "Second"? It is second call to the function? It is called in a loop?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
what i mean second is second imports
i already fix it
it because in that report properties SaveValues = yes
I change become no
now it works
have you try it with call by reference?