Copy Paste - Subform

K

K

Hello,

I have a subform call frmRates. In this form I have a field called OD. On
Got Focus how do I program it to take the previous records OD number entered
by the user and copy it to the next record OD field?
 
K

K

Here is what I tried but it does not work


Private Sub OD_LostFocus()
If IsNull(OD) Then
OD = Forms!frmMain!frmRates!OD
End If

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top