Hello,
I am trying to get a running total in my query
Below I am summing the CREDIT field from the table TRANSACTION and including records that are equal or less than the ID field.
This works fine.
RunningSumCredit: DSum("[Credit]","[Transaction]","[ID]<=" & [ID])
I would like to restrict the sum to records that contain the words "Rent Paid" in the NOTES field
I have tried the following, but its not working - please could someone show me where I am wrong?
RunningSumCredit: DSum("[Credit]","[Transaction]","[ID]<=" & [ID] AND ([notes]="RentPaid"))
Many thanks Mark
I am trying to get a running total in my query
Below I am summing the CREDIT field from the table TRANSACTION and including records that are equal or less than the ID field.
This works fine.
RunningSumCredit: DSum("[Credit]","[Transaction]","[ID]<=" & [ID])
I would like to restrict the sum to records that contain the words "Rent Paid" in the NOTES field
I have tried the following, but its not working - please could someone show me where I am wrong?
RunningSumCredit: DSum("[Credit]","[Transaction]","[ID]<=" & [ID] AND ([notes]="RentPaid"))
Many thanks Mark