Guest_imported
New member
- Jan 1, 1970
- 0
I have a form called "Total Spent" and all that is on this form is the Grand Total. What I want to display in grand total is the sum of all purchases from a particular client. Let me explain how my database is set up
I have two tables [Client Info] that has the name etc... and I have [Client Purchases] which contains all purchase amounts of the client, and this is where I get the grand total from. The tables are joined by [Client ID] which is an autonumber. How do I get the grand total of a particular client using the above forms? I tried..
=sum(table![purch hist]![purch amt])
but it gives me an #Error. Please help!! Also The grand total must only be for that particular client, so as to not have the grand total of ALL purchases but instead just for that one client. Thanks
I have two tables [Client Info] that has the name etc... and I have [Client Purchases] which contains all purchase amounts of the client, and this is where I get the grand total from. The tables are joined by [Client ID] which is an autonumber. How do I get the grand total of a particular client using the above forms? I tried..
=sum(table![purch hist]![purch amt])
but it gives me an #Error. Please help!! Also The grand total must only be for that particular client, so as to not have the grand total of ALL purchases but instead just for that one client. Thanks