That worked great. Thanks!
"tkelley via AccessMonster.com" wrote:
[Quoted Text] > More than one option: > > DLookup function: > > In the after update event of the dropdown, use DLookup. You'll be better off > to add your PK field to your rowsource (if it isn't already), then set it's > width to zero. Then you can use Dropdown.value as the criteria in the > DLookup > > or > > Column property of your dropdown: > > Add column B to your rowsource for the dropdown, set it to 2 columns, set the > new column width to zero (to hide). Then on the after update of the dropdown: > > > me.txtPhoneNum = me.Dropdown.Column(1,me.Dropdown.listindex) > > (I prefer this one, especially when I'm trying to save trips to the backend) > > Brutalius wrote: > >I have created a form with a dropdown list of Names referenced from Column A > >in Table 1. I would like a textbox on the form to automatically display the > >appropriate phone number in Column B of Table 1. How is this done? > > -- > Message posted via http://www.accessmonster.com> >
|