Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6088 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a database for tracking budgets, amount spent, and balance. I have a layout that I show information about each account. I want to have a field that will total all amounts written out of that specific account. How can I show that amount in a specific field. For example I have an account for the warehouse supplies. I want to have a field that shows a total of all the purchase orders that was written out of warehouse supplies.

budget_info.png

  • Newbies
Posted

The account number is stored in the purchase order. The purchase order is divided into 2 tables, purchase order info and items purchased. Both tables have the account number stored. So i assume I would want to sum the purchased items correct?

  • Newbies
Posted

Thanks for the help, but thats not what I'm really looking for. I have that part working ok. The screen I show above is a seperate table listing all the accounts. I want to show the amount spent out of individual accounts not the purchase order. The items sold are in their own table and it has the acocunt number in that table.

Posted

The items sold are in their own table and it has the acocunt number in that table.

All right, then you can sum over the items

sum ( POItems::amount )

the result will be the same as in my sample (see the Client layout: shows totals over all POs for that client). What I attempted to show was you can see the grand total over all POs even when the Account ID is not stored in the items.

  • Newbies
Posted

Do I have to have check to make sure the account number on the po items match the record in the account list, example

if (account list::acct_rel = po items::account rel (sum price); 0)

This topic is 6088 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.