I generally us a control's after update event to look up the value and store it in the desired control.
For example in an Invoice form, when you select the product/item/service code the after update event would look up the prince and store it int he Unit Price control on the form.
There is an example database that ships with Access called Northwind. The Order form shows exactly how to do this. I urge you to check it out.
TIP: The Northwind example is a great learning tool.
__________________
Boyd Trimmell aka HiTechCoach (.com)
Microsoft Access MVP Alumni 2010-2015
Last edited by HiTechCoach; November 18th, 2013 at 03:02 PM..
|