I would like to print fixed nos. of lines in the Body section of a report. For e.g. I would like to print 10 lines out which 4 may contain data and the balnce 6 lines will be blank. Can any body help me?
Or you could make a 4 line empty section do somthing like the following in the OnPreSection() trigger:
CurrReport.SHOWOUTPUT(counter MOD 4 = 0);
* Code has not been tested.
But this is not the general solution... try to not use some preconditions that there will be 4 lines.... :-) in two days you will be changing it to 5, 6, 7, 20... ;-)
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
* Code has not been tested.
If it was hard to write, it should be hard to understand."
But this is not the general solution... try to not use some preconditions that there will be 4 lines.... :-) in two days you will be changing it to 5, 6, 7, 20... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thing is, even if you should use an integer loop, there is always a place in Navision where you will need to set the (a) number of lines.
If it was hard to write, it should be hard to understand."
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.