angelleye Posted March 12, 2007 Posted March 12, 2007 (edited) I've got invoices being stored in temporary tables prior to actually being created in our real invoices table. I have fields called InvoiceCreated, InvoiceDeclined, InvoiceOnHold. Each has a value of 1 or 0 effectively marking the status. No record would have a 1 for more than 1 of these fields. All of that is working great. What I'd like to do now, though, is be able to figure a total amount for the declined orders. So I just need a total of all GrandTotal fields where InvoiceDeclined = 1. I could do it in a heart beat with SQL in a web app but I can't figure it out within FileMaker. I'd like to display "We've declined worth of orders." on my layout. Any information on this would be greatly appreciated. thanks! Edited March 12, 2007 by Guest
mz123 Posted March 12, 2007 Posted March 12, 2007 You can create a field that is a Summary field and it provides you with a Total of the Declined field. That should do it!
mr_vodka Posted March 12, 2007 Posted March 12, 2007 The InvoiceDeclined field is currently just used as a boolean. You can have an additional field that is a calculation of Case ( InvoiceDeclined; Amt) and then use a summary filed to total that.
Recommended Posts
This topic is 6526 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 accountSign in
Already have an account? Sign in here.
Sign In Now