calculating portal row number and navigating to related records
i have a portal that typically displays about 6 related records (timesheets for various individuals). i have it set up now so that if i click a button in one of the portal rows i go to a different layout that finds the originally clicked record, as well as all the other records for the individual for the current year. however, more often than not, the record i clicked in the original file is not the first or last portal row, nor is it the first or last record for that individual. is there any way to calculate the number of the portal row (e.g. 3 out of 6) that was clicked so that when i get to the new layout and the correct set of found records, i can go to that specific (e.g. 3rd) record rather than just the first or last record? any thoughs would be much appreciated.