@Henrik ****
Yes, it will be shown on the computer. Still, if he goes to that same point of entry, he's more likely to meet that same immigration officer.
Since it seems unusual that he was denied entry after just 1 tourist visa, I don't feel the same officer will be the sort of person who will have already reached a state of enlightenment, that will allow him to overlook petty grievances, in such a short space of time. I think it would be more prudent to err on the side of caution, in this situation.
That's what I would do.