How can I estabish a VBA code to determine the gender by
the first name field in my make table query.
First Name is Sex
Adam Male
Jennifer Female
Amy Female
John Male4
I suppose you could have a table with thousand's of names and use
DLookUp() to match the name with its associated supposed gender, but
then how would the table differentiate between names like Jan,
Michael, Dale, Kelsey, Evelyn, Merle, Maria, Marie, etc. which are
first names of both male and female persons. (And those are just a few
that immediately come to mind. There are more.) Who is to say that it
is not possible to name a woman John or a man Elizabeth.
You might want to re-think what you are trying to do, and not type
cast someone by their name.