Dear Experts,
We want to print the check from Nav, the report is already working fine.
But i have a problem that when the amount of check when shown in Alphabets the character of the first line breaks and continues in the second line.
I have attached the snap shot of how it is showing right now if you will see the attachment "Dir" is showing in first line and "hams. but it's just one word.
I have also tried using only one line with the multiline option and expanded it's height. But in multine option the gap between first and second line is less.Whereas in the physical check the second line is more down.
Please check it and let me know if it's possible to solve this.
0
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for replying
I have atted the the report design and the other snap consists of text length of each textline.
FYI, i have tried decreasing and increasing the character lenght of each field.
But if the amount is bigger than it will continue to the second line but with line broken.
Thanks
Try using "Arial Narrow" font or changing font size to something smaller.
then you won't have to split the text description to make it fit on one line.
http://www.BiloBeauty.com
http://www.autismspeaks.org
try by changing the copystr function from 1 to 50 to 1 to 80..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for the reply, but if in a case if the amount is bigger it will again break the line.
i have tried using instead of 2 text line i used only text line1, and i have increased it's characters from 1 t0 150.
i used the multiline option and expanded the box as much as it could.
Now with with this application. it shows perfect, it's automatically takes the word to the next line.
Now the only problem is if it goes to the next line the line space between first and second line is less. I just want like when it goes to the 2nd line there should be space.
Please tell me if i can increase the line space between first and 2nd line. then the 2nd line will come exactly on the 2nd line of check.
Kindly tell me how can i make this happen!
call the function like this
FormatNoText(DescriptionLine,<>,<>);
Use DescriptionLine[1] and DescriptionLine[2] in your text boxes..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
And if you break the description up into two lines you are having an issue of the first description ending in the middle of the word.
I would use arial narrow and a small font size start the text as far to the left as possible - also use multiline and accept that the spacing is not going to be a wide as you like. :-k
HMMm.Perhaps you can force the the Line break at the "&" symbol
http://www.BiloBeauty.com
http://www.autismspeaks.org
I have changed the font to Arial narrow (10). i can break the line "&" Symbol but it's not fixed because everyday the amount wil change sometimes it's in thousands sometimes might be hundred thousands so i can't fix it with & Symbol i guess.
@ Mohanna, I didn't get u exactly. please tell me with little bit step's expalanation as i am not a proper programmer. :oops: So kindly help!
Thanksss!
If yes, Go to PrintCheck dataitem and check line
FormatNoText(DescriptionLine,CheckLedgEntry.Amount,BankAcc2."Currency Code");
This is the line which converts CheckLedgEntry.Amount to text format and is stored in DescriptionLine variable which is a text datatype variable with 2 dimensions of length 80..
And also check the sections PrintCheck-Footer
which has 2 text boxes with Sourceexpr DescriptionLine[1] and DescriptionLine[2]
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Yes 1401 report is the one which converts.
OK! Now i have found the following line in that report.
FormatNoText(DescriptionLine,CheckLedgEntry.Amount,BankAcc2."Currency Code");
Please tell me what do i have to change here??
FYI, This is the complete code under Printcheck Trigger.
Thanks alot!!
There is nothing to modify in 1401 report in both cases..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
We barely use it.
can it be possible if i use only TEXTLINE1 instead of two textlines and give characters range from 1 to 200. and within this when the line shifts to the second line it could give some space between first and the second line.
For eg: amount like
SEVEN HUNDRED TWENTY FIVE THOUSAND TWENTY
TWO Dirhams & FIFTY FIVE Fills ONLY.
So i could give some space between TWENTY TWO.
If it's possible that i can make the same amount like this
SEVEN HUNDRED TWENTY FIVE THOUSAND TWENTY
TWO Dirhams & FIFTY FIVE Fills ONLY.
I am just looking for a space between when the line shifts.
you need this in report1401 or customized report?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Which is getting printed from Payment Journal.
Report 50022 and 50021.
If yes,can you show the where you called FormatNoText function
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Ok in my report 50021 under the dataitem of Gen.JournalLine.
Attached snapshot contains the code written on it.
Make it similar to DescriptionLine in report 1401 (Texxt datatype with length 80 and dimensions 2)
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Should i change length to 80?
what about the dimensions?
After setting the dimentsions to 2, write numbertext[1] and numbertext[2] in textbox sourceexp..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
ok now i have modify the following.
1. Changed the variable Numbertext length to 80.
2. in the form design i have changed the source exp from Textline 1 to Numbertext[1] and textline 2 to numbertext[2].
But still it's breaking the word within the first line.
I just decreased the text size from 80 to 50. now it's showing perfectly as i wanted.
is there any harm if reduce it to 50 because the amount was within the 80 character that is why it was breaking it.
If it's ok to reduce it to 50 characters then my work is done.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thankssss alot Mohanna for such a great support!! you have really helped a lot, I really appreciate your time!
Thanks once again!!