I'm trying to get to three text boxes on my form to be dependant on a combo box. I can get TxtPop to work but not the other two.
I thought i had done this before and had problems. but i'm not sure why its not working this time.
If i change the columns for TxtProdcd & TxtDescription to column 2 it works, but when i cahneg back to column 3 & 4 nothing happens.
Any ideas?
Cheers
I thought i had done this before and had problems. but i'm not sure why its not working this time.
If i change the columns for TxtProdcd & TxtDescription to column 2 it works, but when i cahneg back to column 3 & 4 nothing happens.
Any ideas?
Code:
Private Sub CboPONo_AfterUpdate()
Me!TxtPop = Me!CboPONo.Column(2)
Me!TxtProdCd = Me!CboPONo.Column(3)
Me!TxtDescription = Me!CboPONo.Column(4)
End Sub
Cheers