Hi,
How can i show Month name using below query?
TRANSFORM Sum([Usage_Cost].[UsageValue]) AS [SumOfThe Value]
SELECT DatePart('m',[Usage_Cost].[BYM]) AS [Month]
FROM Usage_Cost
WHERE [US_Code]=[Forms]![frmUsageChart]![cboCommodity]
GROUP BY DatePart('m',[Usage_Cost].[BYM])
In above query it will show month number. I want to show a Month name. I try to use format function but not success.
Thanks.
How can i show Month name using below query?
TRANSFORM Sum([Usage_Cost].[UsageValue]) AS [SumOfThe Value]
SELECT DatePart('m',[Usage_Cost].[BYM]) AS [Month]
FROM Usage_Cost
WHERE [US_Code]=[Forms]![frmUsageChart]![cboCommodity]
GROUP BY DatePart('m',[Usage_Cost].[BYM])
In above query it will show month number. I want to show a Month name. I try to use format function but not success.
Thanks.