Chris, > cast(value as type) ? Unfortunately, CAST throws an error when it encounters non-numeric data. James Aylard