Star Trek TNG's 53rd episode "Booby Trap " is where Chief Engineer Geordi does his best to get it on with Christy on the holodeck.
He spends several hours perfecting the ideal love-nest holodeck programme only for it to end without even scoring a kiss. - Why does Geordie have such lousy luck with women on the holodeck?
We find out later when the USS Enterprise NCC 1701-D gets caught in an energy radiation trap. Curiously, a Promellian battle cruiser emerges unscathed and Picard is impressed but all is not what it seems. The battle cruiser is a relic left over from a war years ago.
Later daft begger Geordi, activates another hologram. Low and behold, the original designer of the Enterprise-D engines Dr Leah Brahms (Susan Gibney) springs up. After speaking to her, the guy figures, ouch, freezer woman, I've got to make a few technical adjustments to her original programming.
Ah-ha So, with the wizardry of the Federation's flagship Enterprise, Geordie adds a few personal touches of his own to make" Leah the hologram" more receptive to his needs. Not bad huh? you sly devil Geordi, haha!!!
Of course the tweaks are all in the engineer's line of duty whos only trying to save the Enterprise from fatal exposure to space radiation. Isn't it sweet when your a Chief Engineer? Whatever happened to the rules and ethics pertaining to courting ladies on the holodeck? - but hey, Leah isn't complaining!