While isolating the code to provide an example, I discovered my problem (it was actually in the wrong event, and was not defined yet). Thanks for the help.

Larry