is this a client requirements? anyway this is much easier than to amount in words... see the report 1401 - check you can use that for your reference...there's no standard nav code on what do you want to do, you have to make your own algorithm for this..
this is much easier than to amount in words... see the report 1401
My dear fren, that report 1401 mainly prints the amount value which is in decimal in to text and that is not helpful for printing date format in the text format. Also printing date in to text is not easier than printing amount in to text i feel. If you could suggest any solution other than using report 1401, it would be grateful.
Hope someone could comeout with a solution for this as this forum is an experts living forum...
Thanks in advance to u all guys.
Dilip
Falling down is not a defeat..defeat is when you refuse to get up.
Thanq my dear ranjan for Ur valuable suggestion :evil: . But I would like to tell you one thing people approach mibuso and post their quieries only after they try their best and even if they could not able to solve the issue as mibuso forum has many experieced guys who can suggest in solving the issue. I meant them as experts..
Dilip
Falling down is not a defeat..defeat is when you refuse to get up.
I haven't tested this so I'm not sure if it'll work.. But what if you just pass separate values to report 1401?
//Date To Text!
dtt_month := FORMAT(DateVar,0,'<Month Text>');
//dtt_ day & year both decimal
EVALUATE(dtt_day,DATE2DMY(DateVar,1));
EVALUATE(dtt_year,FORMAT(DateVar,0,'<Year4>'));
ReportVar.FormatNoText(dtt_text_day,dtt_day,'REMOVEME');
ReportVar.FormatNoText(dtt_text_year,dtt_year,'REMOVEME');
dtt_text_result := dtt_month + ' ' +
DELCHR(dtt_text_day,'=','REMOVEME') + ', ' +
DELCHR(dtt_text_year,'=','REMOVEME');
Let me know if it works
Only problem I see the day representation. If it's 22 will show as Twenty Two rather than Twenty Second.. but from your first post your example shows "April Two..." so this should do it
Answers
is this a client requirements? anyway this is much easier than to amount in words... see the report 1401 - check you can use that for your reference...there's no standard nav code on what do you want to do, you have to make your own algorithm for this..
be smart before being a clever.
My dear fren, that report 1401 mainly prints the amount value which is in decimal in to text and that is not helpful for printing date format in the text format. Also printing date in to text is not easier than printing amount in to text i feel. If you could suggest any solution other than using report 1401, it would be grateful.
Hope someone could comeout with a solution for this as this forum is an experts living forum...
Thanks in advance to u all guys.
Falling down is not a defeat..defeat is when you refuse to get up.
Thanq my dear ranjan for Ur valuable suggestion :evil: . But I would like to tell you one thing people approach mibuso and post their quieries only after they try their best and even if they could not able to solve the issue as mibuso forum has many experieced guys who can suggest in solving the issue. I meant them as experts..
Falling down is not a defeat..defeat is when you refuse to get up.
Try to create function !! i have tried. Experts should say it is fine or not.
in request form get the date variable.
dttext : Variable Text (30)
Date Value : Variable Date (get it in request form)
dytext : Variable Text (30)
Dttext:=FORMAT(Datevalue);
Dttext:=DELSTR(Dttext,3,6);
day:=Dttext;
IF day='01' THEN
Dytext:='First';
IF day='02' THEN
Dytext:='Second';
like wise do for month and year. You should get this below said output.
Its just hard coding but there is no way to do !!
Try and tell me if you are having any problems in that...
Dynamics Lover
April two Two Thousand Eight
Remember to end the Case block [/code]
Let me know if it works
Only problem I see the day representation. If it's 22 will show as Twenty Two rather than Twenty Second.. but from your first post your example shows "April Two..." so this should do it
Thanks for your valuable suggests ..
with All your suggestions I am able to work it out =D> =D> =D>
Thanks Again for every one =D>