J
JR
I am trying to get a text box on a report equal the value returned by the
following query:
SELECT Employee.LastName
FROM Employee
WHERE (((Employee.EmployeeID)=[Forms]![Form1]![EmployeeID]));
The query works and returns the LastName of the employee whose ID is entered
on Form1. What I can not figure out is how to pass that value to the text
box in the heading of the report that itself shows all actions being worked
by that particular employee.
Everything works but the heading which should reflect the employee's name in
it.
What am I doing wrong or not doing?
Thanks!
following query:
SELECT Employee.LastName
FROM Employee
WHERE (((Employee.EmployeeID)=[Forms]![Form1]![EmployeeID]));
The query works and returns the LastName of the employee whose ID is entered
on Form1. What I can not figure out is how to pass that value to the text
box in the heading of the report that itself shows all actions being worked
by that particular employee.
Everything works but the heading which should reflect the employee's name in
it.
What am I doing wrong or not doing?
Thanks!