Hello. Creating a patient database. Patient ID is 10 numbers, with the 9th number being indicative of gender, even numbers are female. I've an unbound text box ("gender") using =Mid([ID],9,1) to pull out the relevant number, then using the following code to autopopulate another unbound text box...