Hi,
I have a table on my db called nationality which is built up of two fields;
1) nation_code 2) nation
on My main form, called stud_details I have a field called cbonation which has a combo box. What I want to do is when I scroll on the combo box and find a nation such as UK with the code instead of it being saved on the table instead the nation_code should be saved.
This code is not working any help please
Private Sub cbonation_AfterUpdate()
cbonation = Me.Nationality.Column(0)
End Sub
Thanks
I have a table on my db called nationality which is built up of two fields;
1) nation_code 2) nation
on My main form, called stud_details I have a field called cbonation which has a combo box. What I want to do is when I scroll on the combo box and find a nation such as UK with the code instead of it being saved on the table instead the nation_code should be saved.
This code is not working any help please
Private Sub cbonation_AfterUpdate()
cbonation = Me.Nationality.Column(0)
End Sub
Thanks