Discussion Locked

Microsoft Access 97

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In MS Access 97, is there a way to make a table that will display a whole row from another table by using a lookup combo box?

7 replies

by peyison

Not exactly sure what you're looking for, but try this:

Add a subform to your form, linked to the table you want to display:

* Click on the subform button in the toolbox, and add a subform to the form

* From the Subform Wizard - select the Table/Query option and press [Next]

* Select the table, and then the fields in the table that you want to display, and [Next]

* Name the subform and [Finish]

Next, you need to link the subform to the combo box:

* Open the Properties window for the new subform

* In the "Link Master Fields" property, enter the name of the combo box

* In the "Link Child Fields" property, enter the name of the field in the subform's table that should link with the data in the combo box

That should do it.

If you want to change the way the subform looks, you can create a separate form that is bound to the table, and change the default view to DataSheet. Add the fields that you want to include. Then you can change the properties such as Record Selectors, Navagation Buttons, etc. Then, tie this form to the subform in your other form by changing the Source Object property of the subform control.

Hope this helps.

by m.r.chambers

In design view for the table, create the field that you want to store all the info, and in the data type list select Lookup...

Follow the wizard, selecting the table you want the info to come from etc, and you're done. If you know SQL, you mightbe able to fiddle with the WHERE clause or something to get more specific results.

Is that what you mean? (probably not, but maybe it'll help)

M.R.Chambers

by parier

Create a new table and add all you items to the table. Name and save the table.

Now go to the table that the list will exist in (in design view) and one the DATA TYPE, choose Lookup wizard, then step through and choose the field that contains all your data.

Now when you enter date and get to this field, it should list all the data from the new drop down menu.

Hope this helps. If not let me know I can send you an example. eparisek@mtga.com

This discussion is closed to new replies.