If you have ancestors who owned or worked on farms here are a couple of databases you may wish to check out. The information you are seeking may not be online, but you can certainly send a query to the archivist for each database.
ROYAL HIGHLAND AND AGRICULTURAL SOCIETY OF
This database holds History and Accounts for the Society as well as information pertaining to their Shows & Competitions. Additionally, they have records for:
and what they classify as Miscellany:
~Aberdeenshire quarries, manuscript accounts by James Blaikie;
~Descriptions, memoirs and reports of coalfields;
~Argyll Naval fund accounts and applications;
~Scottish Agricultural Committee for Relief of the Allies letter;
~Scottish Red Cross Agriculture Fund papers
This database is looking to compile information about the "vanishing settlements and landscapes" that once dotted the country.