Name automatically by choosing ID from combobx

A

Alex 82

Hi i have this event that reduces the sources from my Name(Nombre) combobox
sources from what i choose in the first combo bx but since i only have one
name for each ID(Credencial) i want the Name to be entered automatically so i
dont have to choose it. Can this be done. Pls i need some help. Thanks

Private Sub Credencial_AfterUpdate()
Nombre.RowSource = "select Nombre from Credenciales where
[Credencial]=[forms]![Ingresar Tiempos]![Credencial]"
End Sub
 
Top