Hi everyone...this is getting very anoying for me so i hope someone outthere can give me hand with this...i really appreciated everyone help.
anyway...I have created a report and i have a field where the answer is calculated using vba...so for example i created a function called "calMoney()" i passed this into the field to generate the answer. Now my question is that is there anyway that i can sum up all the answer that this field has generated.
To make this a little simpler to understand...say i have 2 fields...1 field is the itemID and the other is the total...Now "calMoney()" would use the itemID to generate an answer...Once everything are finished calculating i want to sum up all the answer that calMoney() generate and put it at the end of the report.
Anyone has an idea?
I've tried making a text box at the end of the form and in the control source of that text box i put
"=sum(the name of the field that i want to add up)" or
"=sum(calMoney())" ... none works
thanx everyone
anyway...I have created a report and i have a field where the answer is calculated using vba...so for example i created a function called "calMoney()" i passed this into the field to generate the answer. Now my question is that is there anyway that i can sum up all the answer that this field has generated.
To make this a little simpler to understand...say i have 2 fields...1 field is the itemID and the other is the total...Now "calMoney()" would use the itemID to generate an answer...Once everything are finished calculating i want to sum up all the answer that calMoney() generate and put it at the end of the report.
Anyone has an idea?
I've tried making a text box at the end of the form and in the control source of that text box i put
"=sum(the name of the field that i want to add up)" or
"=sum(calMoney())" ... none works
thanx everyone