A
Anthony Viscomi
I am try to use the DSum function in the following manner:
Dim intBaseTotal as Integer
Dim intFilter as Long
intFilter = Me.ID
intBaseTotal= DSum("[Base_Price]", "tbl_OrderB", "[ID_B]"= intFilter)
Me.txtBasePriceTotal= intBaseTotal
I keep getting a "Type Mismatch"; if I replace the variable (intFilter) with
an actual value (4) it works fine. Any thoughts?
Thanks!
Anthony Viscomi
Dim intBaseTotal as Integer
Dim intFilter as Long
intFilter = Me.ID
intBaseTotal= DSum("[Base_Price]", "tbl_OrderB", "[ID_B]"= intFilter)
Me.txtBasePriceTotal= intBaseTotal
I keep getting a "Type Mismatch"; if I replace the variable (intFilter) with
an actual value (4) it works fine. Any thoughts?
Thanks!
Anthony Viscomi