New Paragraph

Dneal
Member Posts: 103
Hi,
I need a space between my paragraphs in a report I am building. I'm trying to use the \, but I don't know how to insert that into the report. Any help is much appreciated.
Dneal
Newbie
I need a space between my paragraphs in a report I am building. I'm trying to use the \, but I don't know how to insert that into the report. Any help is much appreciated.
Dneal
Newbie
0
Comments
-
You have to put the property "Multiline" on the field. (If you want it in a field).
If you want an empty line between lines, you must create an extra section that is blank and in the OnPreSection, you need to put code (CurrReport.SHOWOUTPUT(Boolean)) to show the section or not (=to have a blank line or not).Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I"m working with extended text in a record. I modified the extended text code unit to allow the user to choose default paragraphs.
The report looks like this:
DataItem Name
Sales Header <Sales Header>
- Cover Letter Lines <Cover Letter Lines>
Integer CopyLoop
- Integer CoverLines
So in the Cover Letter Lines code for OnAfterGetRecord() I have:
TempCoverLine := "Cover Letter Lines";
TempCovetLine.INSERT;
HighestLineNo := "Line No.";
So I want to do a condition that looks like this:
TempCoverLine := "Cover Letter Lines";
IF TempCoverLine."No." <> '' THEN BEGIN
//Insert a blank line in the report here for a new paragraph.
END;
TempCovetLine.INSERT;
HighestLineNo := "Line No.";
When I try the empty section it does it for each line. Because of the order of triggers I can't get a global flag to work in a condition for the OnPreSection. (When it looped through the OnAfterGetRecord I tried to set the global,of course it just overwrites itself.)
I'm new at Navision, and very new with reports. My first one actually. Any kindly advice or suggestions is appreciated.
Dneal
Newbie0 -
If I got it right, you have different lines and in one of the lines is a sign to make a new paragraph.
In this case : make 2 sections. 1 with the text to print, the other with a blank section.
In the section to leave blank put in the OnPreSection:CurrReport.SHOWOUTPUT(TempCoverLine."No." <> '');
In the section to print a textline put in the OnPreSection (only in case it is a line that serves as a paragraph-seperator and it has no text in it):CurrReport.SHOWOUTPUT(TempCoverLine."No." = '');
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank you for your help. I got it to work. I better understand how the sections work and how to create conditons for a report.
Again, thanks for your help and patience.
Dneal0
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