Hello All,
I have the following issue I cannot seem to figure out - An 8 element array for a customer address seems to be spilling out on the next line after the address text reaches a certain length.
For example the following happens (see bold area):
Peter Smith
John Jacob Jinglhiemer Schmidt Avenue
midt Avenue
9999 Somewhere
Madison, Wisconsin, USA
Somewhere, there is a length set that's cutting this off. The current issue shows up on Report 10072 Customer Statement. (but this may be customized for my place of business)
The array is only referred to in code as follows:
FormatAddress.Customer(CustomerAddress,Customer);
StatementComplete := FALSE;
The array is represented in sections as follows:
CustomerAddress[1]
CustomerAddress[2]
CustomerAddress[3]
etc...
I tried many things in our test environment and couldn't seem to figure this out...any ideas would be greatly appreciated.
Thank you very much - gadzilla1
0
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I figured this one out a few weeks ago...the issue was not related to the array, but rather involved values spilled over to the 'name 2' filled left over from the implementation.
I assumed that it was array-related from the get-go and did not check the data FIRST. ](*,)
A great learning experience! Thanks - gad1
I have list of priorities when checking some problem:
1) It is user fault (wrong data, wrong usage)
2) It is another user fault (wrong historical data, wrong usage in history etc.)
3) It is another developer fault (some bug in code, wrong initial data etc.)
4) It is your fault (overlooked wrong data, overlooked user fault etc.)
5) It is your fault (wrong code, wrong data created by you...)
(best is to start refuting the points from 1 to 5)
8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Have a great day - gad1