Sep 27, 2006 #1 TimTDP Technical User Feb 15, 2004 373 ZA In a query I have the following field: FullValue:format([InvoicePrice]*[Quantity],"0.00") If I try sum this field in a different Totals Query I receive a "Data Type Mismatch" error. Why?
In a query I have the following field: FullValue:format([InvoicePrice]*[Quantity],"0.00") If I try sum this field in a different Totals Query I receive a "Data Type Mismatch" error. Why?
Sep 27, 2006 1 #2 PHV MIS Nov 8, 2002 53,708 FR Why?[/!] Just because the Format function returns a STRING. What about this ? FullValue: Val(Format([InvoicePrice]*[Quantity],"0.00")) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Why?[/!] Just because the Format function returns a STRING. What about this ? FullValue: Val(Format([InvoicePrice]*[Quantity],"0.00")) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886