Select * from [Cronus$Sales Line] where [No_] in
(Select distinct [No_] from [Cronus$Item])
Hi Everybody,
I need to recreate a similar coding to the above sql statement in Navision. I know that it can be done by setfilter but the could would certainly not look that great. Is there a reserved word in Navision which replaces the IN used in sql?
0
Comments
something like this code.
Cronus_SalesHeader.SETRANGE("Bill-to Customer No.", Customer."No.");
You do not need the Clear or reset, if you are changing the filter on the same field.
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
What if you the he/she added new codes for filtering in other field under the codes that I have given. That filtering will be taken through the 2,3,4th etc. loop. [/quote]