T
Tony F
I have a database built using Access 2000 which contains a form for adding to
the main Table. In the form is a txt box which I want to auto populate from a
combobox, I have the VBA code below where PartDescription is the txt box I
want to populate and PartNumberAffected is the ComboBox.
Private Sub Combo100_AfterUpdate()
Me.PartDescription = Me.PartNumberAffected.Column(1)
End Sub
Behind PartNumberAffected is 2 column table and it's column count is 2, the
main table has one to many relationships which include the PartnumberAffected
table.
When I select a value from the drop down list on my form the following error
occurs
"Compile Error: Method or data member not found" and ".Column" highlighted.
Can you tell me where I'm going wrong.
Many thanks
Tony F
the main Table. In the form is a txt box which I want to auto populate from a
combobox, I have the VBA code below where PartDescription is the txt box I
want to populate and PartNumberAffected is the ComboBox.
Private Sub Combo100_AfterUpdate()
Me.PartDescription = Me.PartNumberAffected.Column(1)
End Sub
Behind PartNumberAffected is 2 column table and it's column count is 2, the
main table has one to many relationships which include the PartnumberAffected
table.
When I select a value from the drop down list on my form the following error
occurs
"Compile Error: Method or data member not found" and ".Column" highlighted.
Can you tell me where I'm going wrong.
Many thanks
Tony F