dharkin Posted January 25, 2006 Posted January 25, 2006 Hello, Help please I have three tables with the following fields in them. Quarter 1 days, Quarter 2 days, Total days for quarter. I would like to get the sum of qt 1 and qt 2 and have it applied to the total days for the quarter. Your help is appreciated and thanks in advance.
Oldsneekers Posted January 26, 2006 Posted January 26, 2006 I think you will need to describe your work a bit more. Does one table occurance (TO) have Q1D and the second have Q2D and the third Total or are all three in each of the three tables?. Are these fields summary or number fields? If they are in one TO you can define a field as a summary field based on the fields you want to add. If they are in separate TO's you will need to use an intermediate field (ie a global) to carry and add the numbers by a script going from one TO to the other and then using set field to copy this sum to the total field. I hope this helps.
bruceR Posted January 27, 2006 Posted January 27, 2006 You probably should not be using Quarter1Days, Quarter2Days. Instead have a field "Quarter" and put the correct value in it for each record and a seperate field for Days. But you may need to tell us more about what you are doing, as mentioned by Oldsneekers. It is almost always poor design to use fields SomeField1, SomeField2, etc because reports usually are hard to create.
dharkin Posted January 28, 2006 Author Posted January 28, 2006 Thanks for your reponses. I tried this method and it seems to be working for me (If they are in separate TO's you will need to use an intermediate field (ie a global) to carry and add the numbers by a script going from one TO to the other and then using set field to copy this sum to the total field. ) Thanks again this forum has never let me down Don
Recommended Posts
This topic is 6938 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