Options

C/AL Programming: SetFilter Function

AliBomberAliBomber Member Posts: 13
edited 2003-04-04 in Navision Attain
Hi, now I have a problem with filters and hope someone here is able to help me ;-)
I tried to set two filters successively on my table. The code I wrote, looks like this:

SETFILTER(Stufe, act_Stufe );
basicFilter := CurrForm.TMP_KMAT.FORM.GetGrundbezeichnung;
SETFILTER(Grundbezeichnung, basicFilter );

The first filter works very well, but the second one is not able to run.
What can I do, to set both filters at the same time on my table???
Thank you very much for your help...

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    It probably depends on the result of your CurrForm.TMP_KMAT.FORM.GetGrundbezeichnung function.

    Maybe you can first display the content of the basicFilter variable, to check how it looks like?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.