If you have code to do this already, then you do not need to change it. What you need to do is when a change occurs, you need to refresh (controlname.requery) the text box.
Of course this means you have to detect the change.
Same would hold true with Dlookup.