with the in place upgrade, you do not lose your data, as gamerk has implied
windows 7 has this fancy feature where all your old files (anything in the users or program files folders) gets stored in the new OS as windows.old
now this doesn't mean that you shouldn't back up your data before doing the upgrade
and how ever you choose to do it, you will need to reinstall your programs