G
Guest
I get an error message: "Run-time error '2001': You canceled the previous
operation"
Here is my code...
Private Sub Combo82_AfterUpdate()
Me.address01.Value = DLookup("Address1", "SchoolListing", _
"CEEB_CODE = " & Me.Combo82.Value)
End Sub
What is wrong?
The idea is that I choose a school from the combo box (named "combo82" that
lists all the schools from the "SchoolListing" table) and the combo box's
AfterUpdate event tells a separate text box (named "address01") to display
the address (Named "Address1" in the "SchoolListing" table) associated with
this school.
Any help would be awesome!
operation"
Here is my code...
Private Sub Combo82_AfterUpdate()
Me.address01.Value = DLookup("Address1", "SchoolListing", _
"CEEB_CODE = " & Me.Combo82.Value)
End Sub
What is wrong?
The idea is that I choose a school from the combo box (named "combo82" that
lists all the schools from the "SchoolListing" table) and the combo box's
AfterUpdate event tells a separate text box (named "address01") to display
the address (Named "Address1" in the "SchoolListing" table) associated with
this school.
Any help would be awesome!