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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |