Thanks to everybody who said you can't define a function within a function. Peter
View entire thread