>In VPME9.0, and probably 9.1, the lookup textbox and combobox stores the real controlsource in cSaveControlSource, or some such. When the value is changed, the framework populates the value back to whatever the cSaveControlSource happens to be. There are also one or more u*val properties on the controls; e.g., uLastVal. At any given point you can find the PK value of the textbox in that variable. The names might have changed for 9.1, but something like that will be there.
>
>Hank
In design-time I don't see any properties of the textbox that start with u.
If it's not broken, fix it until it is.
My Blog