G
Guest
Hi
I have a form with a table on it and underneath the table i have to text
boxes which contain similar to the following =Sum([Account Balance]).
This used to work when the recordsource was set to a full SELECT statment ie
Me.Recordsource = "SELECT * FROM AccountBalances" although the real one was
more complicated than that.
Anyway, the recordsource has since been change so that it executes a stored
procedure passing in various paramaters to the procedure. The SP still
returns an Account Balance field and a text box in the data area of the form
is bound to this and shows the correct data.
The problem is the total text box with =SUM([Account Balance]) no longer
works and just shows #Error in the result.
Can anyone explain what is happening, is it a problem with setting the
source to a SP or is there something i need to do. I can always calculate it
using my own function if need be.
Thanks
Paul
I have a form with a table on it and underneath the table i have to text
boxes which contain similar to the following =Sum([Account Balance]).
This used to work when the recordsource was set to a full SELECT statment ie
Me.Recordsource = "SELECT * FROM AccountBalances" although the real one was
more complicated than that.
Anyway, the recordsource has since been change so that it executes a stored
procedure passing in various paramaters to the procedure. The SP still
returns an Account Balance field and a text box in the data area of the form
is bound to this and shows the correct data.
The problem is the total text box with =SUM([Account Balance]) no longer
works and just shows #Error in the result.
Can anyone explain what is happening, is it a problem with setting the
source to a SP or is there something i need to do. I can always calculate it
using my own function if need be.
Thanks
Paul