Sorted Data Rows Property

Hello,

I have a sorted data source that is working perfectly fine but when I try the access the sorted data rows property nothing is being returned. I have recently upgraded to leopard and now the same code that worked on tiger won’t work. This is what I am using


tell sortedDB
set theSortedRows to (sorted data rows)
end tell

I know the data is being sorted correctly because I can see it in the table.

Any help would be great
Thanks
Dallas