>Since you're passing this as a parameter, you would have to include a parameter statement. In your particular case you don't actually have to pass a parameter (and therefore you would not need an lparameter statement), but it's a good practice to pass object reference in case you would need some special handling. So, I included it for general purpose. You may also check FAQ by Mike Helland: How to add code to grid's controls in run-time...
Thanks for the tip. I'll look it up.
Thomas Hall
Thomasville, NC