Organisers of the Penistone Show, which is in its 138th year, had been at loggerheads with the firm after it was given permission to build on their former showground.
Members of the agricultural society in the town, near Barnsley, tried to stop the development by launching a campaign to declare the site a village green. Barnsley Council bought a new site for the showground but concerns remained over access.
Event spokesman Liz Walker said yesterday, however, that it had been a fabulous display of all things rural for 18,000 visitors.
Mrs Walker added: "The arrival of Tesco disrupted show access, but the new arrangements worked better than ever.
"Tesco were also kind enough to sponsor the main rings and worked tirelessly to help the society overcome obstables."