G
Guest
Hello all,
Got a (I believe) fairly simple problem that I can't figure out. I'm using
Access 97. Let me describe.
I have a table that has multiple fields for employee numbers. It's like a
call-center ticket system. One employee opens it, another might follow up,
another might close. So there are a total of 5 distinct employee numbers
stored in the table. I also have an employee table with just numbers and
names.
And here's where I run into problems:
I'm tying to create a form to display the some ticket info and the employee
number and name associated with the actions taken on the ticket. And I can't
get the name of the employee to display properly. I constantly have "#Name?"
displayed.
The RecordSource for the form is Ticket. And I have a relationship between
each of the emp numbers in Ticket and emp number in Emp table.
Inside the field I'm trying to use to display each employee name, I tried
writing the following:
SELECT [Emp]![EmpName] FROM [Emp] WHERE [Emp]![EmpNum] = [Ticket]![ENum1]
I've tried adding ( ) and = but it hasn't had any affect.
I've also tried creating a query, but it said there was a conflict between
and table used in the form and the table used in the query.
I'm convinced this is doable, and I'd appreciate any help I can get. I
think I'm missing something really obvious...
Thanks,
Jay
Got a (I believe) fairly simple problem that I can't figure out. I'm using
Access 97. Let me describe.
I have a table that has multiple fields for employee numbers. It's like a
call-center ticket system. One employee opens it, another might follow up,
another might close. So there are a total of 5 distinct employee numbers
stored in the table. I also have an employee table with just numbers and
names.
And here's where I run into problems:
I'm tying to create a form to display the some ticket info and the employee
number and name associated with the actions taken on the ticket. And I can't
get the name of the employee to display properly. I constantly have "#Name?"
displayed.
The RecordSource for the form is Ticket. And I have a relationship between
each of the emp numbers in Ticket and emp number in Emp table.
Inside the field I'm trying to use to display each employee name, I tried
writing the following:
SELECT [Emp]![EmpName] FROM [Emp] WHERE [Emp]![EmpNum] = [Ticket]![ENum1]
I've tried adding ( ) and = but it hasn't had any affect.
I've also tried creating a query, but it said there was a conflict between
and table used in the form and the table used in the query.
I'm convinced this is doable, and I'd appreciate any help I can get. I
think I'm missing something really obvious...
Thanks,
Jay