Question: In which spy film starring Roger Moore as the fictional secret agent James Bond did Barbara Bach appear?

Context paragraphs:
Tomorrow Never Dies: Tomorrow Never Dies (1997) is the eighteenth spy film in the "James Bond" series, and the second to star Pierce Brosnan as the fictional MI6 agent James Bond.  Directed by Roger Spottiswoode, with the screenplay written by Bruce Feirstein, the film follows Bond as he attempts to stop Elliot Carver, a power-mad media mogul, from engineering world events to initiate World War III.

The Man with the Golden Gun (film): The Man with the Golden Gun (1974) is the ninth entry in the "James Bond" series and the second to star Roger Moore as the fictional MI6 agent James Bond.  A loose adaptation of Ian Fleming's novel of the same name, the film has Bond sent after the Solex Agitator, a device that can harness the power of the sun, while facing the assassin Francisco Scaramanga, the "Man with the Golden Gun".  The action culminates in a duel between them that settles the fate of the Solex.

Live and Let Die (film): Live and Let Die (1973) is the eighth spy film in the "James Bond" series to be produced by Eon Productions, and the first to star Roger Moore as the fictional MI6 agent James Bond.  Produced by Albert R. Broccoli and Harry Saltzman, it was the third of four Bond films to be directed by Guy Hamilton.  Although the producers had wanted Sean Connery to return after his role in the previous Bond film "Diamonds Are Forever", he declined, sparking a search for a new actor to play James Bond.  Moore was signed for the lead role.

Moonraker (film): Moonraker (1979) is the eleventh spy film in the "James Bond" series, and the fourth to star Roger Moore as the fictional MI6 agent James Bond.  The third and final film in the series to be directed by Lewis Gilbert, it co-stars Lois Chiles, Michael Lonsdale, Corinne Cléry, and Richard Kiel.  Bond investigates the theft of a space shuttle, leading him to Hugo Drax, the owner of the shuttle's manufacturing firm.  Along with space scientist Dr. Holly Goodhead, Bond follows the trail from California to Venice, Rio de Janeiro, and the Amazon rainforest, and finally into outer space to prevent a plot to wipe out the world population and to re-create humanity with a master race.

Barbara Bach: Barbara Bach (born Barbara Goldbach; August 27, 1947) is an American actress and model who played the Bond girl Anya Amasova in the James Bond film "The Spy Who Loved Me" (1977) as well as the spy Maritza Petrović in "Force 10 from Navarone" (1978).  She married Ringo Starr, former member of the Beatles, in 1981.

The World Is Not Enough: The World Is Not Enough (1999) is the nineteenth spy film in the "James Bond" series, and the third to star Pierce Brosnan as the fictional MI6 agent James Bond.  The film was directed by Michael Apted, with the original story and screenplay written by Neal Purvis, Robert Wade and Bruce Feirstein.  It was produced by Michael G. Wilson and Barbara Broccoli.  The title is taken from a line in the 1963 novel "On Her Majesty's Secret Service".

A View to a Kill: A View to a Kill (1985) is the fourteenth spy film of the "James Bond" series, and the seventh and last to star Roger Moore as the fictional MI6 agent James Bond.  Although the title is adapted from Ian Fleming's short story "From a View to a Kill", the film has an entirely original screenplay.  In "A View to a Kill", Bond is pitted against Max Zorin, who plans to destroy California's Silicon Valley.

For Your Eyes Only (film): For Your Eyes Only (1981) is the twelfth spy film in the "James Bond" series, and the fifth to star Roger Moore as the fictional MI6 agent James Bond.  It marked the directorial debut of John Glen, who had worked as editor and second unit director in three other Bond films.

Casino Royale (2006 film): Casino Royale (2006) is the twenty-first spy film in the Eon Productions "James Bond" film series and the first to star Daniel Craig as the fictional MI6 agent James Bond.  Directed by Martin Campbell and written by Neal Purvis & Robert Wade and Paul Haggis, the film marks the third screen adaptation of Ian Fleming's 1953 novel of the same name.  "Casino Royale" is a reboot of the film series and as such is set at the beginning of Bond's career as Agent 007, just as he is earning his licence to kill.  After preventing a terrorist attack at Miami International Airport, Bond falls in love with Vesper Lynd, the treasury employee assigned to provide the money he needs to bankrupt a terrorist financier, Le Chiffre, by beating him in a high-stakes poker game.  The story arc continues in the following "Bond" film "Quantum of Solace" (2008), "Skyfall" (2012), and "Spectre" (2015) also feature explicit references to characters and events in this film.

The Spy Who Loved Me (film): The Spy Who Loved Me (1977) is the tenth spy film in the "James Bond" series, and the third to star Roger Moore as the fictional secret agent James Bond.  Barbara Bach and Curt Jürgens co-star.  It was directed by Lewis Gilbert and the screenplay was written by Christopher Wood and Richard Maibaum.

Supporting paragraphs: Barbara Bach The Spy Who Loved Me (film)
Answer: The Spy Who Loved Me