How to get a value from a database based on a value from the same row, but different column - pls help!!!!!!!!!!

Is it possible to see your modified code?

Scroll back through this posting, and you will see it up near the top.