I saw an idea like this in another forum. The idea was to set the default values with a button. Say you have several/many records to input and in this batch, all the City, State, and Zips are "San Francisco", "CA", and "94132". His idea was to enter the first record and then click on a "Set Defaults" button (pick a name that makes it easy for your users), and that would temporarily store the values as defaults, so that the user doesn't have to re-enter the same thing again, and again, and agian, avoiding typos! Here's the code:
Code:
Private Sub btnStore_Click()
Me.txtCity.DefaultValue = """" & Me.txtCity & """"
Me.txtState.DefaultValue = """" & Me.txtState & """"
Me.txtZip.DefaultValue = """" & Me.txtZip & """"
End Sub
HTH
_________________
Regards,
Marvin M
Windows 7 Professional, MS Access 2007/2010
Windows 8 Professional, MS Access 2013
---------------------------------------------------------------------------------------------
If my post has helped you, please click the scales or click the 'Thumbs up'. Thanks!
---------------------------------------------------------------------------------------------
"The last record" is very relative. This notion imply a sort order. (this is only regarding to the terminology).
Regarding to your question, my practice is to use the DoubleClick event in order to set the default value.
So, for each control where I like to set the default value I have this code:
(From the top of my head)
Private Sub MyControl_DoubleClick()
MyControl.DefaultValue = MyControl
End Sub