Dear All,
May I know how to extract month as a character from Date?
I have used DATE2DMY to extract months as integer by passing 2 as parameter
But how can I get month as APRIL,MAY i.e. as character from date?
e.g if date is 01/04/2009, month is 4
but I need months as 'April'
Thanks
0
Comments
1:txtMonth:='January';
2:txtMonth:='February';
....................
END;
:whistle:
Use format(<date>,0,'<month text>').
Use some time to check out the help for the format-property!
Great things are revealed there
Thoms Hviid Thorn
In which language it is returned, btw? Windows config or client config?
PS: I see i'm not the only who skip the C/SIDE Reference Guide :oops:
But - on you way to the books - check out the Multilanguage sections too
:!: anyway - you'll find, that I'm not allways right in my responses too :-#
Thoms Hviid Thorn
[Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
1) four lines of code extra and one variable
2) does the Date table require I/O ? Guess not, but If - that's overhead too
but the result is the same, and it too is multilanguage enabled
Thoms Hviid Thorn
2) No overhead. All is in memory/CPU.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Actually I want to create drill down report for Purchase Receipt Summary report based on Month filteration i.e first screen of Month list & on selection of month-- list of all Receipts-- then on selection of CPL -- goes to actual posted receipt voucher
I got the soultion from post posted by you all