Filter codeunit question

infonoteinfonote Member Posts: 233
Hi,

I am trying to pass filters from a form to a codeunit. However, the filters are not being passed.

Here is some sample code.

ABC.COPYFILTERS(Rec);
ABC.SETRANGE("...");
Codeunit(ABC);

Up till setrange, the filters are there.
However, when I enter the codeunit, the filters are lost.

Should I use a function to transfer the filters?

Thanks in advance.

Comments

Sign In or Register to comment.