Expression to count values in a range.

mickeyboy

New member
Local time
Yesterday, 21:46
Joined
Jun 7, 2013
Messages
8
I have been stuck trying to write an expression that will calculate the Yes values in a range of 16 Yes/No fields.

I have attached a screen print of the report I am working on.

Hoping for some help!!!
 

Attachments

Is this a Report? If so what is the RecordSource of the Report?
 
Yes = -1, and No = 0, so . . .
Code:
SELECT -Sum(MyYesNoField) As YesCount
FROM table
 
Didn't work!!
I'm just looking for an expression to enter into an unbound text box.
I am a real newbie at this
 

Users who are viewing this thread

Back
Top Bottom