Using RecordSortedList class

Hello all,

How can i use RecordSortedList class for a table which supports inheritance property ?

because when i initialize the object of RecordSortedList with the table for which Ineritance property is enabled,it throws an exception.

Please help me out guys…

Do you get any error message?

Yes Martin. Following are the messages i get.

RecordInsertList or RecordSortedList operations are not allowed with tables participating in table inheritance.

Object ‘RecordSortedList’ could not be created

So it seems that Microsoft knowingly doesn’t support it. You’ll have to do it differently. Can’t you, for example, store records IDs in a List?