2.2rc7 getMaxRecordIndex() bug

Since I have updated to rc7 I have noticed that my record navigation methods, specifically goTo_LastRecord and jumpto_RecordN do not work properly.

It seems that after performing the line:

currentcontroller.recordIndex = currentcontroller.getMaxRecordIndex();

the method quits without error.

The methods worked before and have not been modified since.

Any clues as to why this no longer seems to work?

You can try:
currentcontroller.setSelectedIndex(currentcontroller.getMaxRecordIndex())

I think "currentcontroller.recordIndex = " has been “discontinued”… and probably that’s why is no more listed in the currentcontroller functions tree.

Thanks!

That fixed it.