C
Claire
Hi Everyone,
I have a form which has a lookup to a query. The query is a list of
department names and includes DepartmentID, Department Name and
Inactive/Active. I want only those departments which are Active to show in
the lookup but to still show the inactive departments where they have
previously been used. I've managed to do this but my problem is with the
lookup itself.
I want the DepartmentID to be stored in the table, but I want Department
Name to be displayed on the form. So far I've made the lookup with the two
columns. If I hide the departmentID column and put Department Name as the
first column I get an error "The value you entered isn't valid for this
field". If I make departmentID the first column on the look up it just shows
the number which is meaningless to everyone. Is there a way of doing what I
want?
I'm using Microsoft Access 2002.
Thank you for your help.
Claire
I have a form which has a lookup to a query. The query is a list of
department names and includes DepartmentID, Department Name and
Inactive/Active. I want only those departments which are Active to show in
the lookup but to still show the inactive departments where they have
previously been used. I've managed to do this but my problem is with the
lookup itself.
I want the DepartmentID to be stored in the table, but I want Department
Name to be displayed on the form. So far I've made the lookup with the two
columns. If I hide the departmentID column and put Department Name as the
first column I get an error "The value you entered isn't valid for this
field". If I make departmentID the first column on the look up it just shows
the number which is meaningless to everyone. Is there a way of doing what I
want?
I'm using Microsoft Access 2002.
Thank you for your help.
Claire