Hi all,
I have to establish this filter:
a) All the dates with a Starting Date equal or lesser than a given day
b) All the dates with an Ending Date equal or bigger than a given day
c) And... all the dates with a blank Ending Date
How should I perform this filter? My present code is:
SETFILTER("Starting Date", '<=%1', (MyDate));
SETFILTER("Ending Date", '>=%1|0D', (MyDate));
But it's not working

I'm sure this filter can be implemented but I wonder where's my fault.
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
SETFILTER("Starting Date", '..%1', (MyDate));
SETFILTER("Ending Date", '%1..|0D', (MyDate));
I think it must works.
lessi: your proposal gets this error msg:
'0D is not a valid date'
That was the same error I got before kriki enlightened our lives
"I don't want to believe. I want to know." (Carl Sagan)
I beg your pardon, next time i will test before posting :?
Sometimes someone else notices an error and corrects it. Or sometimes I have to try it anyway (when I have time) after the notice that it doesn't work (luckily it doesn't happen too much).
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!