hi all.... i usually make report using wizard
after that i modified the report
all i want to know is basic theory how to grouping manually
for example i made report using table Sales Invoice Header
can anyone explain about these codes
thanks
1. Sales Invoice Header - OnPreDataItem()
LastFieldNo := FIELDNO("No.");
2. Sales Invoice Header, GroupHeader (3) - OnPreSection()
CurrReport.SHOWOUTPUT := FooterPrinted;
FooterPrinted := FALSE;
3. Sales Invoice Header, GroupHeader (4) - OnPreSection()
CurrReport.SHOWOUTPUT :=
CurrReport.TOTALSCAUSEDBY = "Sales Invoice Header".FIELDNO("No.");
4. Sales Invoice Header, GroupHeader (5) - OnPreSection()
CurrReport.SHOWOUTPUT :=
CurrReport.TOTALSCAUSEDBY = LastFieldNo;
5. Sales Invoice Header, GroupFooter (7) - OnPreSection()
IF NOT FooterPrinted THEN
LastFieldNo := CurrReport.TOTALSCAUSEDBY;
CurrReport.SHOWOUTPUT := NOT FooterPrinted;
FooterPrinted := TRUE;
0
Comments
I suggest you read the ADG before diving into programming NAV.
No, it didn't.
But in this case rhpnt you were rigth, but you could share more.
OP you should read ADG (aplication designer guide), this is pdf file located on navision instalation disc somewere ...\Navision\5sp1_SI\DVD_Signed\Doc\
The file is called w1w1adg.pdf, and on the page 242 you should find what you are looking for.
And just for the record the real man never reads a car manual. I have never ever read a car manual. That's like asking someone for directions when you are lost, you can't do that.
My Blog - nav.education
Was meant like a joke and I forgot to put LoL at the end, my bad.
thanks santa100
your help means a lot
(not like the other guy)