A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculating Multiple Checkboxes with If Statements



 
 
Thread Tools Display Modes
  #1  
Old December 20th, 2004, 08:37 PM
Playa
external usenet poster
 
Posts: n/a
Default Calculating Multiple Checkboxes with If Statements

I have four different fields that are yes/no checkboxes in my report. The
fields are chk_firstAid, chk_physio, chk_FDvisit, and chk_SHMHvisit.
At the end of the report I will do a sum of all four checkboxes, however the
user wants me to set it up with a tricky multiple if statement that I can't
wrap my head around and actually don't even know if it is possible.
In each record one or all of the four checkboxes can be checked. For
different senarios the user wants the checkbox sums to total up differently.
For example if chk_firstAid and chk_physio checkboxes are both checked for
one record then I just want the chk_physio total to add one to the sum at the
end of the report and not add one for the total for chk_firstAid. Is this
possible and if so how can I code this?
  #2  
Old December 20th, 2004, 09:01 PM
Rick B
external usenet poster
 
Posts: n/a
Default

Asked and answered somewhere else. Please don't multi-post



"Playa" wrote in message
...
I have four different fields that are yes/no checkboxes in my report. The
fields are chk_firstAid, chk_physio, chk_FDvisit, and chk_SHMHvisit.
At the end of the report I will do a sum of all four checkboxes, however

the
user wants me to set it up with a tricky multiple if statement that I

can't
wrap my head around and actually don't even know if it is possible.
In each record one or all of the four checkboxes can be checked. For
different senarios the user wants the checkbox sums to total up

differently.
For example if chk_firstAid and chk_physio checkboxes are both checked for
one record then I just want the chk_physio total to add one to the sum at

the
end of the report and not add one for the total for chk_firstAid. Is this
possible and if so how can I code this?



  #3  
Old December 20th, 2004, 09:25 PM
Playa
external usenet poster
 
Posts: n/a
Default

sorry thought that since it was a different section i could. But will not
double post in future...thanks for your help

"Rick B" wrote:

Asked and answered somewhere else. Please don't multi-post



"Playa" wrote in message
...
I have four different fields that are yes/no checkboxes in my report. The
fields are chk_firstAid, chk_physio, chk_FDvisit, and chk_SHMHvisit.
At the end of the report I will do a sum of all four checkboxes, however

the
user wants me to set it up with a tricky multiple if statement that I

can't
wrap my head around and actually don't even know if it is possible.
In each record one or all of the four checkboxes can be checked. For
different senarios the user wants the checkbox sums to total up

differently.
For example if chk_firstAid and chk_physio checkboxes are both checked for
one record then I just want the chk_physio total to add one to the sum at

the
end of the report and not add one for the total for chk_firstAid. Is this
possible and if so how can I code this?




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating sum of multiple records to display 1 total sum df2000 Running & Setting Up Queries 1 October 8th, 2004 03:06 AM
Multiple if statements Big Tony Running & Setting Up Queries 5 July 12th, 2004 10:33 PM
Using multiple IF statements David Worksheet Functions 4 September 17th, 2003 07:05 PM


All times are GMT +1. The time now is 05:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.