I have a macro setup to add up the hours each person spends on a project and display that on the form.
Action = SetValue
Item = [Forms]![Project P&E]![Total Man Hours]
Experssion = [Forms]![Project P&E]![Man Hours1]+[Forms]![Project P&E]![Man Hours2]+[Forms]![Project P&E]![Man Hours3]+[Forms]![Project P&E]![Man Hours4]+[Forms]![Project P&E]![Man Hours5]
Instead of it adding the values up it puts each in the block (i.e. if each person spent 1 hour the results displayed shows up 11111). When I try to subtract, multiply or divide it works fine. I'm not sure if it matters but I am using access 2003.
Thanks,
James
Action = SetValue
Item = [Forms]![Project P&E]![Total Man Hours]
Experssion = [Forms]![Project P&E]![Man Hours1]+[Forms]![Project P&E]![Man Hours2]+[Forms]![Project P&E]![Man Hours3]+[Forms]![Project P&E]![Man Hours4]+[Forms]![Project P&E]![Man Hours5]
Instead of it adding the values up it puts each in the block (i.e. if each person spent 1 hour the results displayed shows up 11111). When I try to subtract, multiply or divide it works fine. I'm not sure if it matters but I am using access 2003.
Thanks,
James
Comment