Dear All,
I have a DateTime field in a List Page in NAV2016 Database. Now I want to filter the data on that Field.
Suppose I want to see the filtered records from 15/09/17 00:00 to 15/09/17 23:59.
But I would like to provide the (only) value 15/06/17 in the required field.
When I have given the input on that field to filter, it converts the value from 15/06/17 to 15/09/17 00:00. It does not convert the input value(15/06/17) into the range from 15/09/17 00:00 to 15/09/17 23:59.
How do I achieve it ?
Kindly reply.
Now or Never
0
Answers
15/09/17 00:00..15/09/17 23:59
Yury
Yury
MS has enhanced(removed) the feature from old to new
The text entered in date/time filter field is converted into filter expression in codeunit 1 in MakeDateTimeFilter function, which in turn calls MakeDateTimeFilter funcion in codeunit 41.
You can try modifying that function to get what you need. Just be careful as it will affect the entire system, all places where a data/time filter is entered.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
OK. I don't want to hamper the default system.