You should be able to switch any time you want, without losing points. This is especially handy around megabonus offers time because, if you are going to have lots of stays, you can complete one megabonus on points, and then switch to miles and earn that way too (if you get both offers).