K
Kari
How do I force an unbound control to be data type Double in Access 2007?
I have a simple form for searching records. It is set to Datasheet view.
There is a Totals row, which calculates several totals. All well and good,
until I tried to display a total for a calculated control. The control in
question is an Extended Price, calculated by multiplying [Cost] by [Qty
Shipped]. The problem is that Access thinks the result is a string somehow,
and only offers me "Count" and "None" as options in the Totals row (the
options available for a String field).
I know I've seen references to a method to tell Access what datatype to use,
rather than having it guess, but I can't find them. I tried wrapping the
calculation in CCur or CDbl, but neither worked.
I'm sure this is a simple question, but I would really appreciated some help
on it!
TIA
Kari
I have a simple form for searching records. It is set to Datasheet view.
There is a Totals row, which calculates several totals. All well and good,
until I tried to display a total for a calculated control. The control in
question is an Extended Price, calculated by multiplying [Cost] by [Qty
Shipped]. The problem is that Access thinks the result is a string somehow,
and only offers me "Count" and "None" as options in the Totals row (the
options available for a String field).
I know I've seen references to a method to tell Access what datatype to use,
rather than having it guess, but I can't find them. I tried wrapping the
calculation in CCur or CDbl, but neither worked.
I'm sure this is a simple question, but I would really appreciated some help
on it!
TIA
Kari