Movie about dream control from the late 80's/early 90's.
Does anyone remember a movie about a guy who could enter other people's dreams, but only if he was close in proximity to them? It came out in the late 80's/early 90's. I remember one scene where he enters a girls dream and they are on a train and he is able to control what happens in her dream - the danger is when the dreamer is able to figure out they can control their own dream. If anyone could help with the title of the movie, I would appreciate it. Thanks!