Therber Posted February 26, 2004 Share Posted February 26, 2004 I have been working for sometime on this problem and just can't quite seem to get it to work - I am attempting to sum a field in records which have a common ID field while omitting those with the same ID which have a checkbox checked. Should I be using one or two self relationships? Thanks. Link to comment Share on other sites More sharing options...
John Caballero Posted February 26, 2004 Share Posted February 26, 2004 Create a calculation in the related file that looks like this: Case(checkbox=whatever value you use,0,field you want to sum) Then from your main file, create a calculation: Sum(relationship::calculation) Link to comment Share on other sites More sharing options...
CyborgSam Posted February 26, 2004 Share Posted February 26, 2004 You could make a relationship based on a calculation like this: If( BoxIsChecked, ID, "" ) You will only relate to records with the box checked and with the proper ID. Sam Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7358 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