Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the negative sum of checkboxes

Status
Not open for further replies.

EthanVos

Technical User
Nov 14, 2002
8
0
0
CA
Good evening all.

I have a simple table with 20 or so fields that are check boxes. I use the sum in a query but I get a negative number for the sum because the check is -1. The number is correct, just negative. How can I make this a postive number in my report?

Thanks.

Ethan
 
[worm] Use the Absolute function:
Code:
   Debug.Print Abs(-20)
   20
VBSlammer
redinvader3walking.gif

Unemployed in Houston, Texas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top