B
Bongard
I am trying to run an update query (let me know if this is a better
way) to Update the [Amount] field in a table tbl_Transactions. I want
to multiply the [Amount] by -1 if another field in the table
[Direction] = "Outbound" Currently I have an If statement that looks
like this:
IIf([Direction]="Outbound",[Amount]*-1,[Amount])
I can get this to calculate correctly in a view(select) query but I
don't know how to get this to work in the Update query.
I'm hoping that this is very easy for someone but I can't figure it out
so thanks in advance!
-Brian
way) to Update the [Amount] field in a table tbl_Transactions. I want
to multiply the [Amount] by -1 if another field in the table
[Direction] = "Outbound" Currently I have an If statement that looks
like this:
IIf([Direction]="Outbound",[Amount]*-1,[Amount])
I can get this to calculate correctly in a view(select) query but I
don't know how to get this to work in the Update query.
I'm hoping that this is very easy for someone but I can't figure it out
so thanks in advance!
-Brian