G
Guest
Hi!
I have a subform with employeID, names and other informations. I have
created a lookup function so that the name appears automatically when I
enter the EmployeeID.
This dlookup function works perfectly in my subform alone.
here is the code in the textbox' control source
=DLookUp("Nom";"TravailSaisie";"[Employé]=" & [Forms]![Travail1]![Employé])
(sorry for the names in french... Nom=Name, Travail means work,job, Employé
=Employee, TravailSaisie is the name of the query I used)
In the main form, the subform is linked by a date field. Dlookup no longer
works when I open the main form, in each text box, I get #Name?
What can I do to make this work?
Thanks a lot
Louis Pat
I have a subform with employeID, names and other informations. I have
created a lookup function so that the name appears automatically when I
enter the EmployeeID.
This dlookup function works perfectly in my subform alone.
here is the code in the textbox' control source
=DLookUp("Nom";"TravailSaisie";"[Employé]=" & [Forms]![Travail1]![Employé])
(sorry for the names in french... Nom=Name, Travail means work,job, Employé
=Employee, TravailSaisie is the name of the query I used)
In the main form, the subform is linked by a date field. Dlookup no longer
works when I open the main form, in each text box, I get #Name?
What can I do to make this work?
Thanks a lot
Louis Pat