Thank you @PaulRB! Your solution set me on the right path. I've got it working now. Thank you too @xfpd.