JoeMicro
Aug 28, 2009, 01:32 PM
Hi,
I want to sum a column on an unbound subform based on a txtbox on the main form, so I entered this
Sum(IIf([CheckDate]>=[Forms]![frmStatements]![txtDate] ,[Quantity],0)) in a textbox on the subform but I get #Error in the txtbox.
So I tried adding # so I get an error "the expression you entered has an invalid date value"?
Any help would be appreciated.
Joe
I want to sum a column on an unbound subform based on a txtbox on the main form, so I entered this
Sum(IIf([CheckDate]>=[Forms]![frmStatements]![txtDate] ,[Quantity],0)) in a textbox on the subform but I get #Error in the txtbox.
So I tried adding # so I get an error "the expression you entered has an invalid date value"?
Any help would be appreciated.
Joe