rudolfelizabeth
Programmer
I have a query in a main from members with the follow code
in the query ,
Total: (select sum(amount) from transactions2 where [Transactions2]![Number] = Forms![Members]![Number])
without the where clause it gives you a sum of amount for all the clients in the transaction2 table.
with the where clause it doesn't output anything
I want the value of the client that's on the sreen's total.
any Idea what's missing
I also joined the member table to the transactions2 table
in the query ,
Total: (select sum(amount) from transactions2 where [Transactions2]![Number] = Forms![Members]![Number])
without the where clause it gives you a sum of amount for all the clients in the transaction2 table.
with the where clause it doesn't output anything
I want the value of the client that's on the sreen's total.
any Idea what's missing
I also joined the member table to the transactions2 table