Investors & landlords

Why are you "filling out" Form 4797? You should have checked the box indicating you had a like-kind exchange.