Copy contents of one textbox to another textbox on the same form

Joined
Sep 14, 2011
Messages
1
Reaction score
0
I have a user form called "Student Registration Form" and on that form I have two textboxes one called "Family Last Name of Primary Residence" and the other one called "Last Name" I am trying to copy the contents of "Family Last Name of Primary Residence" textbox to the "Last Name" textbox with no sucess but be able to correct the "Last Name" textbox if necessary. The code I am using is:

Private Sub FAMILY_LAST_NAME_OF_PRIMARY_RESIDENCE_AfterUpdate()
Me.Last_Name = Me.Family_Last_Name_Of_Primary_Residence
End Sub

I have tried to replace the "." (period) with "!" (exclamation point) -- neither one works -- as I input the form data the form contunues like nothing is happening.

This does not work. Please help

Also,
I would like to have the textbox "Family Last Name of Primary Residence" to be all capitals upon exit, any suggestions?

Thank you,
Mike
 
Back
Top