>>Hi Paul,
>>
>>It's so close but I still can't get it to work. When I use ...GetValue(this), I get the error "Object reference not set to an instance of an object". I figured that was because the reference was to the form itself, rather than the control so I changed it to ...GetValue(txtName). I still get the error. I suspect it's still because it's reading the string rather than the reference to the control name, I just don't know what to do to get past that. I did make sure that the variable was indeed set to the name of a control on the form. Any ideas? Thanks.
>
>Strange. That really should work. Are these controls actually on the form (and not part of some other container)? Is this code running after InitializeComponent()? It sounds like the GetField() portion is failing (returning null). Is this code actually in the form itself (and not somewhere else, like your bizobj)?
Paul,
The code does run after InitializeComponent(). The controls are on a tab page.
Linda Harmes
HiBit Technologies, Inc.