You don't put it on a form...as you said, it is called programmatically.
I haven't specifically tested the code in CR9.
>Aha, foolish me. So you have to call it programmatically to get in on a form? Does the code you posted in your white paper work with v.9? I got errors with that (could have been transcription problems).
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer