I want to populate my text box on the form with the help of combo box.For this purpose i use the following code.
Private Sub cmbx_AfterUpdate()
Me.txtFirstName.Value=Me.cmbx.Column(1)
Me.txtLastName.Value=Me.cmbx.column(2)
End Sub
The code work well when i try it for the first time.but when i close the form and reopen it,the combo box is fail to populate the text box on the form and the text box remain blank.I try break point also,delet all the old files and make new files but my problem is as it is.
Please let me know by any experience person that how to solve my problem .
Thanks