a tempory table has some disadvantages too. With an array yu can simpy ask MyArray[I-1]. I can loop through the items and ask what the previous item was. With temp tables this is not that simple.
Depends on which table definition you use for the temporary table. There are enough tables in Navision with a simple 1 field index. Or you can create your own, of course.
Comments
HTH
Twain Development
Guido
Regards,
André
Twain Development