Access Query - Data Column

dvent

Registered User.
Local time
Today, 09:48
Joined
Jul 14, 2009
Messages
40
Hi All,

I have a column that I want to set with the format of "Date" but I can't work it out.

The formula in the Column is:

Code:
GO LIVE MONTH: Format([Actual_GoLive],"mm/yyyy")

[Actual_GoLive] is found in my master data table with data type - Date/Time

Thanks
dvent
 
You will not be able to set the Go Live Month as a date because it is not a valid date, you need the day portion. What are you trying to do with the value perhaps there is another way to handle it.
 
I want to use the data to plot a graph with # of go lives broken down by month.
 
If you want to group your data, you will probably have to group by the year and then month. You can use the year() and month() functions to extract the parts of the date you will need; alternatively you could use the datepart() function.
 

Users who are viewing this thread

Back
Top Bottom