I'm trying to update the value of a textbox from 2 different combbox in the form using a parameter query.
The query looks like this:
SELECT tblClubs_Equipos.ID FROM tblClubs_Equipos WHERE (((tblClubs_Equipos.idClubs)=[Forms]![frmPartidos]![cbClubLocal]) AND ((tblClubs_Equipos.idEquipos)=[Forms]![frmPartidos]![cbEquipoLocal]));
The textbox is named -> txtidEquipoLocal
I have created VBA event as follows:
Private Sub cbEquipoLocal_AfterUpdate()
txtidEquipoLocal.Requery
End Sub
Although I don't get any error the textbox shows #NAME?
Can anyone let me know what am i missing.
Kind Regards,