That's what I am working on already...
thanks for all your efforts, and all the best....
Peter
>
cControlsource needs to be a character field Thisform.Business.Data.Respond_id is an integer field (all my PKs are integers)if I link it to the company name it would not be a unique link. There could be more than one ACME Inc. for example..>
>That could be. Andy and I created the class and placed it in the public domain back in 1998, so it has been a while since I looked at it < s >.
>
>
Maybe the control does not work for me without modification....>
>That's why you have the source code < s >. All you need to do is remove this line:
>
>
>IF ! EMPTY(.cControlSource)
> .txtSch.ControlSource = .cControlSource
>
>
>from the DoSetup() method, leave txtSch unbound, and write some code to update the foreign key behind the scenes when a row is selected from the grid. You may have to add a couple of properties to the class to handle this genericly, but I am pretty sure that it can be accomplished without too much difficulty.
Peter Cortiel