Hey,
I need to sum values of currencies in one column (Expr2) considering to which currency I choose (Currency is written in column Expr8). I added a text box In Microsoft Access Form. I entered this formula:
=DSum("[Expr2]";"Query1";"[Expr8] = 'USD'")
However when I go to the 'Form View' window I receive an error in this field value. When I change this formula like this:
=DSum("[Expr2]";"Query1")
then everything is ok and Access sums all the values of all the currencies. But I need to use a criteria to set which currencies I want to sum. So does anybody know what is wrong?
I need to sum values of currencies in one column (Expr2) considering to which currency I choose (Currency is written in column Expr8). I added a text box In Microsoft Access Form. I entered this formula:
=DSum("[Expr2]";"Query1";"[Expr8] = 'USD'")
However when I go to the 'Form View' window I receive an error in this field value. When I change this formula like this:
=DSum("[Expr2]";"Query1")
then everything is ok and Access sums all the values of all the currencies. But I need to use a criteria to set which currencies I want to sum. So does anybody know what is wrong?