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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continuous Form [TextBox] SQL Question

Status
Not open for further replies.

Bill6868

Technical User
Mar 20, 2007
96
US
On my continuous form I have a field named [RSVP]. It is a yes/no check box which tells me if this individual has responded RSVP and will attend the event. In the form header I want to use a [TextBox] to count the number of yes responses. If I write =Count(*) it just gives me the total number of records on the continuous form. Is there something I can write that will give me the number of yes (-1) responses.

Any advice would be greatly appreciated. Thanks.
 
This worked great. Not sure what Abs means but it worked. dhookom - thank you, thank you, thank you!
 
Click the Help button in Access or search the web for Abs().

Access Help said:
Returns a value of the same type that is passed to it specifying the absolute value of a number.

The absolute value of a number is its unsigned magnitude. For example, ABS(-1) and ABS(1) both return 1.

I only wish my "abs" were so well defined ;-)

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top