• does this script work in a query window? i could be wrong but i think you might have to put an "as Size" after the cast statement.