Trevor
02-06-2008, 10:54 PM
I have a subform with a textbox [Amount to pay] I want to total and I tded using =sum([Amount to pay]) , and have also tried =sumproduct([Amount to pay]) in textbox [total sub] and both give me and both methods give me an #error in [total sub]. I read a post athttp://www.pcreview.co.uk/forums/thread-3394799.php (http://www.pcreview.co.uk/forums/thread-3394799.php)
stateing that function sum,min,max as a controlsource can cause that error as wel as a textbox that is refuring to itself in the controle source argument.
does anyone know of an alturnate way to sum the values in the subform,
I have also tried placing the controle with the same argument on the main form to retrieve to total of [amount to pay] and I get the same #error there as well, I have tried attaching my db but the upload fails it's within the max size alowed (44kb), don't know why that doesn't work.
so I would appreciate any help to sum these vales that are in the subform [bill select subform].
stateing that function sum,min,max as a controlsource can cause that error as wel as a textbox that is refuring to itself in the controle source argument.
does anyone know of an alturnate way to sum the values in the subform,
I have also tried placing the controle with the same argument on the main form to retrieve to total of [amount to pay] and I get the same #error there as well, I have tried attaching my db but the upload fails it's within the max size alowed (44kb), don't know why that doesn't work.
so I would appreciate any help to sum these vales that are in the subform [bill select subform].