I've been trying to learn Access 2007 for awhile and one item that I have run across a few times is the lookup function.
On the surface, it seems like a wonderful feature because instead of looking at number IDs, you are looking at meaningful data.
However, I have noticed that many people comment (without elaborating) that they really dislike this feature. I'm guessing that it causes problems in some ways or makes like more difficult somehow.
My question is why is this?
I have noticed that my queries sometimes get all messed up with the lookup field section, but I'm not sure why and I don't know how to fix them without rewriting the whole thing.
One example is I have a student query that uses only a student table. The student table has a foreign key called "class" which uses a lookup table to find a class name from another table called classes.
tblStudent
Fname, Lname, ClassID, bday ... etc.
tblClass
Cname, TimeStart, TimeEnd, Day, DateStart, DateEnd ... etc.
In the query I'll have all the fields only from the student table. I would use the lookup function in the Student table to lookup the class name instead of the ID number because it's much easier to figure out the classes, but ocassionally what happens is that I lose the lookup function and I only get the ID numbers in the field.
I'm guessing that somehow the lookup function was taken out by something else and the only way I can get it back is to go back to the student table and use the lookup function again, but I have to delete any table relationships first.
Obviously, I'm new to this whole process so I'd love to hear from anyone who understands what's going on!
On the surface, it seems like a wonderful feature because instead of looking at number IDs, you are looking at meaningful data.
However, I have noticed that many people comment (without elaborating) that they really dislike this feature. I'm guessing that it causes problems in some ways or makes like more difficult somehow.
My question is why is this?
I have noticed that my queries sometimes get all messed up with the lookup field section, but I'm not sure why and I don't know how to fix them without rewriting the whole thing.
One example is I have a student query that uses only a student table. The student table has a foreign key called "class" which uses a lookup table to find a class name from another table called classes.
tblStudent
Fname, Lname, ClassID, bday ... etc.
tblClass
Cname, TimeStart, TimeEnd, Day, DateStart, DateEnd ... etc.
In the query I'll have all the fields only from the student table. I would use the lookup function in the Student table to lookup the class name instead of the ID number because it's much easier to figure out the classes, but ocassionally what happens is that I lose the lookup function and I only get the ID numbers in the field.
I'm guessing that somehow the lookup function was taken out by something else and the only way I can get it back is to go back to the student table and use the lookup function again, but I have to delete any table relationships first.
Obviously, I'm new to this whole process so I'd love to hear from anyone who understands what's going on!