View Single Post
  #3  
Old May 13th, 2010, 07:31 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default How to get one field to update based on a selection from a drop do

The standard search form is to use a combo. Allow the combo wizard to do that
for you and select the field you want to search on. Then right click on the
combo to get properties, go to events, and then select the afterupdate event.
Type:
Me.filter = "[yourfieldyouaresearchingon] = """ % Me.combo# & """"
me.filteron = true
The combo# will be listed, like combo22 or combo10.
--
Milton Purdy
ACCESS
State of Arkansas


"RMorton" wrote:

New to Access. I want to create a form that coworkers can use to lookup
information in a database for inputting data into a PO as well as submit new
records into the database. I want to have a control that is a combo drop down
box where the can select a row from a list of items in a specified field and
based on that selection it will update the below text box control with the
corresponding data in the field next to it on the database. Make sense?
Basically need to figure out how to update one control based on data selected
from the drop down box control above it???