I have a simple form with 4 fields, and a subform that retrieves records that are potential matches based on a query.
The user will use the ID from the subform record and enter it into one of the fields on the main form (this is how the match will be stored).
Is there a way using a button/macro to populate the parent form's field with the ID of the subform record that is currently selected?
For example, the subform loads 7 records. The user highlights record 3, which shows 3 fields, one of them the PK. The user would then click this button, and one of the fields in the table the parent form is based on would be updated with the PK of the record selected in the subform.
Right now, they are manually copying & pasting, but it seems like I should be able to write a macro to do this.
Thoughts?
Thanks!