report

suri
Member Posts: 123
hi sir,
i want to print blank lines in a report,is it possible;
i have taken data item as number table;
in the body (pre section ) i have written the code
SNo := SNo + 1;
LineCount := "Sales Invoice Line".COUNT;
is it right or wrong please suggest me
i want to print blank lines in a report,is it possible;
i have taken data item as number table;
in the body (pre section ) i have written the code
SNo := SNo + 1;
LineCount := "Sales Invoice Line".COUNT;
is it right or wrong please suggest me
0
Comments
-
Suri,
Please use a proper subject for your posts..
Can you more clear what do you mean by blank lines?
is it regarding fixed lines per page?0 -
sir ,
i am generating a report in classic client,
at the time report generation in body section i need a blank lines ;
that is i have a four fields,
description,quantity,unitprice,amount
xxx 1 40000 2000
yyy 2 8900 44444
after these two lines in the body section i want to print some empty blank lines ;
after that body i want to print footer section;
i have send you attachment ,can you suggest me please;0 -
Seach for "fixed lines in report"0
-
OnPreDataItem()
MaxLines := 21;
LinesNeeded := MaxLines;
LinesPrinted := "Sales Invoice Line".COUNT;
Blank := 0;
PagesNeeded := ROUND(LinesPrinted DIV MaxLines);
PrintBody := FALSE;
OnAfterGetRecord()
Blank := Blank + 1;
IF PagesNeeded <=1 THEN
BEGIN
LinesNeeded := LinesNeeded - LinesPrinted;
REPEAT
Blank := Blank + 1;
UNTIL Blank = MaxLines;
END;
i have tried this code ,but it was not generating any blank lines;
suggest me please0 -
Did you add any section?0
-
yes i had a sections ,in my report;
but i haven't add anything in the sctions;0 -
Coding should be like below
http://www.mibuso.com/forum/viewtopic.php?f=32&t=45487&start=00 -
ya mohana sir,
it was not helping my requirement0 -
Pages := NoOfLines DIV 25;
NoOfLines := NoOfLines - (Pages * 25);
SETRANGE(Number,1,NoOfLines);
sir we have to write this code presections,can you suggest me please sir0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions