Use Visual Basic to display related records when you move between records on a form

Use Visual Basic to display related records when you move between records on a form

  1. Open the first form in Design view.

  2. Open the form's Form_Current event procedure.

    How?

  3. Add Visual Basic code to the event procedure to display records in the second form that have field values that match a related field on the first form.

For an example of using Visual Basic to display related records when you move between records on a form, click .