the easy way to get started is to select your projects table in the database
window (don't open it). then click New Object: Auto Form on the toolbar and,
*if your table relationships have been defined correctly in the
Relationships window*, Access will build the form/subform for you.
next open the form in design view. click View, Form Header/Footer from the
menu bar. click the Control Wizards button on the "Toolbox" toolbar, to
select (depress) it. next, click the Combo Box button on the same toolbar
and then click anywhere in the header section of the form. when the wizard
dialog opens, select the option "Find a record on my form based on the
value I selected in my combo box.". the wizard will walk you thru the
process pretty painlessly.
there you go, a basic user interface that fits your stated requirements.
you'll want to test it out and tweak it until you have exactly what you
need.
hth
tonyaims said:
Working on an application that has several hundred projects. Some projects
have change orders. There is a total of several hundred change orders.
Relationship is 1 project to many COs. I need a data entry/view/update form
that addresses 1 project and all of its change orders at one time. I want to
have the project info in a form and the CO info in a subform. I want to use
a combo box or list box to select a project from the list of all projects
and use the selected project to populate the form with the project info and
put all of the COs for the selected project into the subform. How do I get
the selected project number to automatically go to the right record in the
project table and select the related COs from the CO table?