Investors & landlords

No.  When you sell it doesn't matter what you did with it.  Unless it was in a retirement or 401K or IRA account.   Each transaction is separate.