I am currently having problems displaying a date/time value to corresponding fields in a table.
I need to split a date/time field into 3 fields. These are:
1. Day of Month
2. Month of Year
3. Day of Week
The current format of the source date/time field is dd/mm/yyyy.
I have successfully appended this data for Day of Month & Day of Week but using the same method I am receiving incorrect data for the month. Eg. January instead of July.
This is an example of the expressions I have used in part of my append query:
Expr: Day([Source Day/Time]![cr_time])
Expr: Month([Source Day/Time]![cr_time])
Expr: Weekday([Source Day/Time]![cr_time])
These fields are appended to their corresponding fields in a summary table.
I have set the format for Weekday to (dddd), and have used the same principle for the month (mmmm). This is the one I am having trouble with as it always returns January instead of July (working with a July month data set)
I used the expression builder as I am not too flash with SQL (ie. basic.. but learning)
Hope the above information is enough and someone can help me.
Thanks
I need to split a date/time field into 3 fields. These are:
1. Day of Month
2. Month of Year
3. Day of Week
The current format of the source date/time field is dd/mm/yyyy.
I have successfully appended this data for Day of Month & Day of Week but using the same method I am receiving incorrect data for the month. Eg. January instead of July.
This is an example of the expressions I have used in part of my append query:
Expr: Day([Source Day/Time]![cr_time])
Expr: Month([Source Day/Time]![cr_time])
Expr: Weekday([Source Day/Time]![cr_time])
These fields are appended to their corresponding fields in a summary table.
I have set the format for Weekday to (dddd), and have used the same principle for the month (mmmm). This is the one I am having trouble with as it always returns January instead of July (working with a July month data set)
I used the expression builder as I am not too flash with SQL (ie. basic.. but learning)
Hope the above information is enough and someone can help me.
Thanks