October 11, 200421 yr Hello, I am trying to build a simple application that assigns points to people according to certain activities and at the end it adds the points for each one of them and ranks them from highest to lowest. So far I have not been to do that last part. I have tried many things, playing with portals, scripts with no luck. The problem is in the Reports Layout, I deleted all my trials/tests, to have a cleaner view. Any help would be very appreciated Pablo Points.zip
October 11, 200421 yr Author How can you show the records in a portal without repeating them. If I assigned points to different persons every week, then how can I list them without repeating names?
October 11, 200421 yr Author Thank you but perhaps I did not explain correctly. Please take a look at the attached file. the reports layout shows the sorted records with the total score for each person. But the names are repeated. Could you please help me on this issue? Thank you Pablo Points.zip
October 11, 200421 yr Put your sum calculation in your Officers file and then use a portal to display them, sorted by the sum. See attached. score.zip
October 11, 200421 yr Lets say you have a file People with the fields ID (an autoentered serail number) First Name, Last name, etc. Then you have a field Scores with the fields ID from the people file, Date and Score. In People you can have a portal to Scores which will show the date & scores for the person of that record. You can calculate the total score for that person using Total = Sum(Scores::Score). You can sort the records in People by the Total. This may not be very fast since the calculation is unstored. Display this in list view to see the people and their scores.
October 27, 200421 yr Author Hello, I had to add an extra thing that pretty much "damaged" the portal for some reason. Basically I added a radio button that depending on the outcome (yes,no) will assign points to the person. I don't know why the portal is not sorting the records in descending order. I compared everything with the file you previously sent me but still it does not work. I truly appreciate your help Cordially Pablo Points.zip
October 27, 200421 yr From a quick glance, it looks like you're using the wrong relationship for SumScore. It shouldn't be based on a constant. Use the FF relationship instead.
October 28, 200421 yr Author Hello, Well, the FF relationship is the same I am using now but still it does not work. Any other ideas would be greatly appreciated. Thank you Pablo
October 28, 200421 yr Did you change SumScore in the Officers file to be Sum(Evaluation of MeetingsFF::Sum Score)? This is what I was referring to. It calculates correctly when you use the correct relationship.
Create an account or sign in to comment