Thanks to all of you who have helped me with questions and issues in the past.

From a primary form, data is entered into a table named EData. The subform shows the data entered in datasheet view. In the EData table, each record is assigned a unique ID number. What I would like to happen is when I click on a row in the subform, I want the unique ID number for the record to show on the main form in a text field.

The reason I want the unique ID to show on the primary form, when the row is clicked on the subform, is records that have been entered into the EData table are also modified or deleted from the primary form. These records are found using the unique ID.