I hope this is the place for this question.
We have a report that is supposed to print out individuals who have birthdays for the month selected in a form. When I run the request - it works. When others run the request - they get 'data type mismatch'. Here is the basic info:
TABLE-1
Field Name: Date_Of_Birth
Field Type: Date/Time
Format: DD-MMM-YYYY
QUERY-1
Field Name: Date_Of_Birth
Field Name: BM:=Mid([date_of_birth],1,2)
Field Name: BD: Mid([date_of_birth],4,2)
BM is supposed to be the birth month and is sorted ascended
BD is supposed to be the birth day and is sorted ascended
Each of these new fields return a two digit number to me, but to others they get a month that is '7/' instead of '07' that I get. Additionally, how can the BM (birth month) be the first two positions of date_of_birth, and the BD (birth day) be the middle four, if I have formatted the data as dd-mmm-yyyy. The date in the table shows up as 27-Jan-2003. I am confused right now.
Thanks. H. Jessen
"Now I know more, and I feel dummer"
We have a report that is supposed to print out individuals who have birthdays for the month selected in a form. When I run the request - it works. When others run the request - they get 'data type mismatch'. Here is the basic info:
TABLE-1
Field Name: Date_Of_Birth
Field Type: Date/Time
Format: DD-MMM-YYYY
QUERY-1
Field Name: Date_Of_Birth
Field Name: BM:=Mid([date_of_birth],1,2)
Field Name: BD: Mid([date_of_birth],4,2)
BM is supposed to be the birth month and is sorted ascended
BD is supposed to be the birth day and is sorted ascended
Each of these new fields return a two digit number to me, but to others they get a month that is '7/' instead of '07' that I get. Additionally, how can the BM (birth month) be the first two positions of date_of_birth, and the BD (birth day) be the middle four, if I have formatted the data as dd-mmm-yyyy. The date in the table shows up as 27-Jan-2003. I am confused right now.
Thanks. H. Jessen
"Now I know more, and I feel dummer"