Hello.
I’ve posted question on this problem few weeks ago, but I’m still struggling.
I’ve posted PNG file of blocks and .aia file at the end of this document.
I’m trying to fill in a list with weighted score of OS, Res, and PP. Each student profile has aggregateOS, aggregatePP, and aggregateRes score, and the page retrieves weight of each score from database when it opens. For example, if aggregateOS is 9 and weight of OS score is 0.3, the portion added to weighted score by OS score would be 9 x 0.3 = 2.7. Complete weighted score should have undergone same process for aggregateRes and aggregatePP and add them all up.
Program successfully arranges studentList into ABC order and display it into ListView1. However, I cannot create new list that has corresponding weighted score for each student in ABC sorted order. AfterSelecting method fills the entire new list with weighted score of student in last index.
This is what happens when AfterSelecting method is first called. (This is mystery for me too…why is this happening?)
When AfterSelecting method is called the second time, I see that scores are same for every student, by the weighted score for last student in studentList. The image for this page is with PNG in the link below. (I cannot post multiple images because I’m new)
The link to PNG of blocks is as follows:
Link to PNG files
Link to .aia file
The page in concern is Ranking page.
You can assume that all global variables are initialized appropriately and there was no compilation nor run-time error.
I’ve been struggling with this problem for few weeks but still can’t find what actually is the problem. Please help …TT
Thank you for reading.