simple question: I have different weeknumbers in a tablefile. A method then searches the weeknumber. Subsequently, I want to get the rownumber where the weeknumber is found. I know there is the method getRowNo, however I don't get it completely. Here's the code
Weeknumber(integer) := week(EventController.absSimTime);
WeekFound(boolean) := TableFile.find(Weeknumber);
the find method of the table sets the cursor to the found cell. You can then use the table attributes CursorX and CursorY to get the location of this cell.
The getRowNo method works without find. If you have a table index of type index you can use getRowNo with the week as an argument to find the row.