Can anyone help for writing code for populating the drop-down value from one form to another.
For Text box I did this:
Private Sub Txt1_AfterUpdate()
Me.Txt1.DefaultValue = "" & Me.Txt1 & ""
End Sub
Private Sub Txt1_GotFocus()
Me.Txt1 = Me.Txt1.DefaultValue
End Sub
But I am not able to do for Drop down. Can anyone help me?
Thanks,
Pinky
For Text box I did this:
Private Sub Txt1_AfterUpdate()
Me.Txt1.DefaultValue = "" & Me.Txt1 & ""
End Sub
Private Sub Txt1_GotFocus()
Me.Txt1 = Me.Txt1.DefaultValue
End Sub
But I am not able to do for Drop down. Can anyone help me?
Thanks,
Pinky