Could anyone help me and tell me where is the mistake in the following code? I can't get it to work
Private Sub units_AfterUpdate()
Me.to_unit.Value = DLookup("unit_no", "unit", "[unit_name]=" & Me.units.Value)
End Sub
units => is an unbound listbox
after a unit is chosen from units...