getOpenPartitions

getOpenPartitions(partitionList: JadeDbFilePartitionArray input;
                  maxEntries:    Integer);

The getOpenPartitions method of the DbFile class populates the partitionList parameter with references to JadeDbFilePartition instances; one for each open partition of the associated database file. An exception is raised if the database file is not partitioned.

If the value of the maxInstances parameter is non-zero, the array contains an entry for the number of open partitions specified by the maxInstances parameter; otherwise it contains an entry for all open partitions.

Remember to remove the transient objects created by using the getOpenPartitions method, as shown in the following code fragment.

epilog
    partitionList.purge;
    delete partitionList; 
end;