Star Trek: The Next Generation/Recap/S1 E11 The Big Goodbye

A computer malfunction traps Picard, Data, and Beverly in a Dixon Hill holodeck program set in early 20th-century Earth.