You will need to delete Form 8949 before Schedule D can be deleted
Click on Tax Tools on the left side of the online program screen
Click on Tools
Click on Delete a form