G
Guest
I created a Make Table query that takes 2 tables that have a relationship and
dump all the info into one table, in addition I added a field that takes the
"Occurrence Date" and formats it to a general date Chart
Date:Format([Occurrence Date],"mm/yyyy") with the format set to Short Date.
Reason I created this field is I have daily entries that I want rolled up in
subsequent queries by the month.
When I run the query and it creates the table the Data Type is set to Text
and not to Date. I run a macro that runs this query based on criteria
selected and then opens charts based on the Make Table but since the Data
Type is Text is puts the dates in number order and not date order.
What is going wrong or is their code I need to write to update the Data Type
of the field to Date, I need it as date.
Thanks!
dump all the info into one table, in addition I added a field that takes the
"Occurrence Date" and formats it to a general date Chart
Date:Format([Occurrence Date],"mm/yyyy") with the format set to Short Date.
Reason I created this field is I have daily entries that I want rolled up in
subsequent queries by the month.
When I run the query and it creates the table the Data Type is set to Text
and not to Date. I run a macro that runs this query based on criteria
selected and then opens charts based on the Make Table but since the Data
Type is Text is puts the dates in number order and not date order.
What is going wrong or is their code I need to write to update the Data Type
of the field to Date, I need it as date.
Thanks!