Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access General > Sum amount at r...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 92490 of 97661
Post > Topic >>

Sum amount at re****t footer is wrong

by "Chlaris" <chlarrissa_nospam@[EMAIL PROTECTED] > Aug 7, 2008 at 11:48 AM

Dear all,

I have a re****t with the condition like below :

Detail Section :

- EmployeeName
- Salary
- Overtime

Re****t Footer:

= Sum([Salary])
= Sum([Overtime])

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
   If Me.Overtime= 0 Then
      Cancel = True
   End If
End Sub

Sample data :

AAA    1,000    100
BBB     1,000    100
CCC    1,000        0

Output :

AAA    1,000    100
BBB     1,000    100
            -------------
Total     3,000   200

The amount of 3,000 is wrong.
Is there any solution for this problem without change the sql statement
for 
record source ?
Thanks.

Chlaris
 




 4 Posts in Topic:
Sum amount at report footer is wrong
"Chlaris" <c  2008-08-07 11:48:19 
Re: Sum amount at report footer is wrong
"Allen Browne"   2008-08-07 13:39:04 
Re: Sum amount at report footer is wrong
"Chlaris" <c  2008-08-08 13:58:10 
Re: Sum amount at report footer is wrong
"Allen Browne"   2008-08-08 16:51:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 22:06:18 CST 2008.