The Big Goodbye

Captain Picard, Data and Dr. Crusher are trapped in a holodeck program as 1940's detectives during a holdeck malfunction that interferes with a meeting with a alien species that requires the captain only.