i have a form with a datasheet, the important fields are "Unit Price" and "Quantity".
i want it to display the sum of: "Unit Price" Times "Quantity",
i have gone into design view, added a new field and written this: Clng(([Quantity]*[UnitPrice])AS[Line Total] with "line total" as the name of the field.
when i go into DataSheet view, all the entries in the "line total" field come up as: #Name?
could someone help me on this, on what i need to change in my statement?
cheers.
i want it to display the sum of: "Unit Price" Times "Quantity",
i have gone into design view, added a new field and written this: Clng(([Quantity]*[UnitPrice])AS[Line Total] with "line total" as the name of the field.
when i go into DataSheet view, all the entries in the "line total" field come up as: #Name?
could someone help me on this, on what i need to change in my statement?
cheers.
Last edited: