Dairy farmers are being encouraged to take a lifetime view when deciding how to improve margins and profit, visitors heard at a recent farm open day.