Hi, all
Can someone help me,i am using sql 2005 and nav 4.0 sp3,my coding like this :
lvAccountHeader.reset;
IF lvAccountHeader.FINDSET THEN BEGIN
lvAccountHeader.CALCSUMS("Total Paid");
lvTotalPaid := lvAccountHeader."Total Paid";
END;
lvTotalPaid return 0
when i see to the table Total Paid got value.in the key i already put Total paid as sumindexfield in the primary key.
why is this happen?is there any setup that i must do first?
0
Comments
By the way, you don't need to do IF FINDSET when you do a CALCSUM, that is not necessary.
RIS Plus, LLC
MVP - Business Apps
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
MVP - Business Apps