check printing problem

hi Experts,

i have little bit issuse regarding the check date

the date fromat in navision has for eg 20/05/2012

but i want my date should come like this 2 0 0 5 2 0 1 2

means a empty space between the date .

thanks in advance

shailesh

May be you want to print in Blocks of Date Given in Checks…Am I Right?

The take a Array and copy each value in Array and show it…

hi Mohana,

thanks for the reply

but when iam making the array the data is not coming in the while iam running the report from RTC

shailesh

Where did you write the code?

Check report 13723 from HotFix-New Form16A and 27D…you will get idea…

HI MOHANA

Value := FORMAT(“Cheque Date”,0,’<Day,2>/<Month,2>/’);
Date[1] := COPYSTR(Value,1,1);
Date[2] := COPYSTR(Value,2,1);
Date[3] := COPYSTR(Value,4,1);
Date[4] := COPYSTR(Value,5,1);
Date[5] := COPYSTR(Value,7,1);
Date[6] := COPYSTR(Value,8,1);
Date[7] := COPYSTR(Value,9,1);
Date[8] := COPYSTR(Value,10,1);

THIS IS CODE IAM USING

IN THIS BOTH DATE AND VALUE ARE TEXT

BUT IT REFELCTING AN ERROR

TYPE CONVERSION NOT POSSIABLE

BECAUSE

CHARN := TEXT

HI MOHANA

Value := FORMAT(“Cheque Date”,0,’<Day,2>/<Month,2>/’);
Date[1] := COPYSTR(Value,1,1);
Date[2] := COPYSTR(Value,2,1);
Date[3] := COPYSTR(Value,4,1);
Date[4] := COPYSTR(Value,5,1);
Date[5] := COPYSTR(Value,7,1);
Date[6] := COPYSTR(Value,8,1);
Date[7] := COPYSTR(Value,9,1);
Date[8] := COPYSTR(Value,10,1);

THIS IS CODE IAM USING

IN THIS BOTH DATE AND VALUE ARE TEXT

BUT IT REFELCTING AN ERROR

TYPE CONVERSION NOT POSSIABLE

BECAUSE

CHARN := TEXT

seperate date ,month, year in three different variables and display

hi amol,

iam not getting your point. can you please explain

split date in three different variables i.e date,month,year and display

actully while saving this code(which i have already put there) iam getting this error

Both the variable

date and value are text variable

but while compiling this iam getting this error

TYPE CONVERSION NOT POSSIABLE

BECAUSE

CHAR:= TEXT

i have solve the problem,

thanks every one

regards,

shailesh