Get Month from Number
I have a access database that I have an ADO connection with in delphi. I have a data field with the Month of the year eg 1..12 I want to display it on the report as JAN..DEC
I have tried to format it in the SQL statement but cannot get it to work.
If I use the (FORMAT( MONTH( aMonth),"mmm")) as StartingMonth it only ever returns JAN
I have tried the access MonthName function but does not work through ADO.
Is there a way to format the display in Fast Reports
I have tried to format it in the SQL statement but cannot get it to work.
If I use the (FORMAT( MONTH( aMonth),"mmm")) as StartingMonth it only ever returns JAN
I have tried the access MonthName function but does not work through ADO.
Is there a way to format the display in Fast Reports
Comments
FORMAT( DATEADD( "m", [aMonth]-1, "1/1/2000"), "mmm")