GlenLynam
MIS
- Jul 26, 2002
- 121
Afternoon,
I have a question regarding queries that im hoping someon can shed some light on for me.
OK... I have 2 tables one contains the details from the logging that our phone switch kicks out the other has the contents of the local directory. So the first table literally has all the information about each call that goes through our switch. The second has 2 columns the first being the directory name the second the number that coincides with that.
What i actually want to do is cross reference the phone numbers from he directory with he ones the switch kicks out and then if there is a mtatch update the field on the switch information so that it has the directory name rather than a number. I have tried an update query with a if....hen statement in it but no joy. Am i in the right place or completely wrong.
Any helpsomeone can shed will be greatly appteciated as im really stuck with this now.
Glen
I have a question regarding queries that im hoping someon can shed some light on for me.
OK... I have 2 tables one contains the details from the logging that our phone switch kicks out the other has the contents of the local directory. So the first table literally has all the information about each call that goes through our switch. The second has 2 columns the first being the directory name the second the number that coincides with that.
What i actually want to do is cross reference the phone numbers from he directory with he ones the switch kicks out and then if there is a mtatch update the field on the switch information so that it has the directory name rather than a number. I have tried an update query with a if....hen statement in it but no joy. Am i in the right place or completely wrong.
Any helpsomeone can shed will be greatly appteciated as im really stuck with this now.
Glen