Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft+access+courses+in+london - autopopulate fields combo box

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft+access+courses+in+london - Autopopulate Fields from a Combo Box

microsoft+access+courses+in+london - Autopopulate Fields from a Combo Box

ResolvedVersion Standard

Brian has attended:
Access Advanced course
Access VBA course

Autopopulate Fields from a Combo Box

Hi

I have a form on which I use a combo box to select a value to place into a field. The combo box runs a query to generate the data and actually selects and displays four fields, the data from one of these populates a field in my form when selected. I would like to be able to use the data from the other three fields in the query to complete fields in the form - but the combo box wizard only alows one field to be selected. How can I get around this.

Thanks
Brian

Edited on Tue 20 Mar 2007, 11:43

RE: Autopopulate Fields from a Combo Box

The way to autopopulate fields based on a selection on a form is by using VBA.

The code would use the value selected in the combo box as a condition to rerun the query.

Then take the results in the corresponding fields in the query and place them in the form's target fields.

Access tip:

Label printing

You can create a report in Access for printing labels All you have to do is is click New under the Reports object and then select Label Wizard and follow the steps

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.