Hi,
Maybe someone had similar problem.
I have two identical tables:
- on local sql server (Table Filter works fine)
- on remote sql server (Table Filter doesn't work - omit some records)
I use the following combinations of filter:
Field1 (Boolean): Yes
Field2 (Boolean): No
I have the same properties of sql server, database and table and I use the same collation.
:?:
0
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Example: I know that there are 8 records that meet conditions and I Navision show only 5.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Becouse I didn't insert value to my table directly, but using outside application, I set sql property Allows Null to Yes (I didn't need import default values to this table). So I had NULL value insted of 0. Navision doesn't know NULL value?
If I want to filter for true, I set the following filter
setfilter(MYField,'<>%1',true);
this will include false, as well as NULL.
If I want to filter on false
setfilter(MYField,'<>%1',false);
This includes true as well as NULL.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!