@Angelo *****
Royal Thai Police Immigration Bureau is already for some years using a computer system called a database. And is available on all check points and Immigration Offices. Your passport get scanned and the information gets into the database. A new passport will match an old passport unless you also change name, dob, gender, nationality etc. Sometimes computer systems are nice.