Himitsu Posted November 7, 2004 Posted November 7, 2004 I have been looking through this forum for an answer to my question because I don't want to post the same easy question if someone else has. But I just can't find the same problem. I have created a sales file. In it I have four tables, customer info, sales, inventory, and a lineitems table. On the customer table, I have a portal that shows all records from the line items and I have a field on the customers table that is a calculation of "sum(line items:total)". So, on the sales sheet, we can enter in the customers tel. and then enter in what they bought. But what is happening is, if the tel. is entered in first, then anything bought before that isn't calculated on the cust table. It is acting like an autoenter function. How would I make it add all, past and present, to the customers total?
Ender Posted November 7, 2004 Posted November 7, 2004 Sum(line items::amount) should work. Make sure the field is an unstored calculation. If that's not it, maybe there's a problem with your relationships. Can you specify what your relationships and key fields are between these tables?
Himitsu Posted November 10, 2004 Author Posted November 10, 2004 Ok... I was using two relationships that were conflicting with it. As for the past orders, I think it was strange that it wasn't calculating it before. Oh well, I got it to work. Ender, thanks for your time and response.
Recommended Posts
This topic is 7387 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