Filter for fields

Hello,

I would like to filter the lines of a table, where “End Time” field is blank.

“End Time” field’ type is DateTime.

I tried this:

ItemJnlLine.SETFILTER(“End Time”, ‘<>0D’);

But I get an error message: ‘0D is not a valid date.’

What should I write instead of 0D?

Thanks a lot,

Frida

Did you try with 0DT?

Yes, I tried.

I have the same error message: ‘0DT is not a valid date’. :frowning:

try something like

ItemJnlLine.SETFILTER(“End Time”, ‘<>%1’,‘’);

try

ItemJnlLine.SETFILTER(“End Time”, ‘<>%1’,0DT);