On Fri, 4 Dec 2009 08:07:01 -0800, Terri
<(E-Mail Removed)(donotspam)> wrote:
>OK here goes, hope this is clear
>
>I am wanting to set up a database where info is selected in one field and
>then multiple fields are populated. EG entering username from drop down list
>automatically fills in Name, Dept and Ext so save looking all those up each
>time.
>
>In excel I would use the lookup function and put formulae in each cell.
>Is this possible in access? Any help greatly appreciated.
The name, dept and ext fields should simply NOT EXIST in your second table.
Relational databases use the "Grandmother's Pantry Principle": "A place - ONE
place! - for everything, everything in its place". These fields should exist
only in the Personnel table (btw I'd use FirstName and LastName rather than
just Name); you can use Queries to link other tables to the personnel table by
EG, and you can use additional textboxes on a Form referencing a combo box.
For instance, if the Dept is column 3 in a multicolumn combo box (even if some
of the columns aren't visible) you can put a textbox on the Form with a
control source
=comboboxname.Column(2)
The column property is zero based so this will show the third column.
If you're working in Tables with Lookup fields... well, don't:
http://www.mvps.org/access/lookupfields.htm
--
John W. Vinson [MVP]