Investors & landlords

I have a 1099 S for 2016 for a rental property sold.  Box 1 shows the date.  Box 2 shows 0.  The transfer agent held the funds until the following year. I did buy a like kind property in 2017. The 1099 S form states that I need to file form 4797.  Property is a 1031 exchange. Following your guide I never arrive at the form 4797