@Nat****
, If you are on a single entry 90 day visa you do NOT need to go to the immigration office to transfer your stamps. You take BOTH passports to the border the next time you leave to get a new 90 day visa and they will stamp you out on the new one. You will then use that one to get the new visa from the thai consulate and not need your old passport anymore.