yes, but I don't know how to use it. Actually while system is processing current records "Outlet Code", I need to compare with next line "Outlet Code" whether the code is same or not.
localCustomer.RESET;
localCustomer.SETRANGE(localCustomer.City,'ISTANBUL');
localCustomer.SETRANGE(localCustomer."Payment Terms Code",'21');
localCustomer.SETRANGE(localCustomer."Post Code",'34149');
IF localCustomer.FINDFIRST THEN BEGIN
localNextCustomer.COPYFILTERS(localCustomer);
localNextCustomer.FINDFIRST;
REPEAT
IF localNextCustomer.NEXT = 0 THEN BEGIN
CLEAR(localNextCustomer);
END;
MESSAGE('%1 - %2',localCustomer."No.",localNextCustomer."No.");
UNTIL localCustomer.NEXT=0;
END;
Ibrahim COBANI | Dynamics-NAV Developer Team Manager I m a Consult
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I m a Consult
E-Mail: ibrahim@imaconsult.com
My BLOG