Hello everybody,
nobody know how to make a filtergroup withe a setrange but making or in the setrange?
example:
filtergroup(2);
setrange(..); //i have to do a setrange with 3 fields but no making AND, i have to making OR. i have to look if in field1 or field2 or field3.
filtergroup(0);
Thanks.
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks
http://www.mibuso.com/forum/viewtopic.php?p=8399#8399
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
Thanks
The managers are allowed to accept time stamps for emplyees in certain department but not for all (i.e. themself).
I managed to solve it like this (from the Employee card):
The function SetRights
Hopefully you can get some ideas from this.
Regards
Torben
at the end you just use:
setfilter("Special Filter",USERID);
you should also consider multiuser environment. (concatenating "Special Filter" and filtering as *USERID*)
If possible you should use tmp rec and insert records you find into tmp rec. It will be faster and won't itnerfere with other users.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯