Hello all, my first ever post on here though I have read from the site for many years, so thanks for all the previous replies this far. I posted this question on another well know site however nobody could help, so here it is - I will be very grateful for assistance.
I have a continuous form where, in one 'column' there is a text box called "txtFinished" which is populated with either a zero or another integer. The figure is populated by an IIF statement, as follows:
The IIF statement seems to work fine (all boxes contain a zero or another number) , however when I try to SUM the column, I simply get #Error in the text box I am using to SUM , that Control Source is
I can confirm the txtFinished and quantity are both Format : General Number
Please help!
I have a continuous form where, in one 'column' there is a text box called "txtFinished" which is populated with either a zero or another integer. The figure is populated by an IIF statement, as follows:
Code:
=IIf(IsNull([DateStampCleaning]),0,IIf(([DateStampCleaning]>=[Forms]![frmIndividualBuildActivity]![txtFrom]) And ([DateStampCleaning]<=[Forms]![frmIndividualBuildActivity]![txtTo]+1),[quantity],0))
The IIF statement seems to work fine (all boxes contain a zero or another number) , however when I try to SUM the column, I simply get #Error in the text box I am using to SUM , that Control Source is
Code:
=Sum([txtFinished])
I can confirm the txtFinished and quantity are both Format : General Number
Please help!