what is the difference between schedule d and form 4797 
schedule d is used to report gains from personal investments while form 4797 is used to report gains from real estate dealings those that are done primarily in relation to business rather than personal transactions 78