PichiMedia
Programmer
I am using Visual FoxPro8, and I have this little aplication that I just did. Among other functions, this aplication is suppose to SUM all the paychecks from a particular month. Well the SUM is wrong, or I might be missing something, I am hoping you guys might help me out. For example, I want to SUM all paychecks from March 2007. So I did a SUM ALL FOR month(MYDATE)=3 and year(mydate)=2007 to MYVAR. In this case MYVAR is 2133. But If I try and ADD per week, the first week of March, the second week of March, the third week of March, and the fourth week of March, the total is not 2133, it's usually less, like 2013 or something. It's like VFP doesn't add or SUM my numbers corectlly. It there any way to force VFP to SUM corectlly, not to make any FLOOR or CEILING? Thank you.