I went the function / view route - works great! Thanks for the help.