Eliminating the blank spaces if there is no data
bonzie
Member Posts: 15
Hi,
my previous post was about the extended text line on the report, not it is working correctly and i found another problem on my report, it is Order Confirmation report but I have modified few items on it.
The problem is If there is no text line below the description, it always show a blank lines.
Is it possible to automatically set the next item to be on the next row if there is no extended text line on the report?
Because usually my company need 4 rows below the description to show the extended text, and sometimes they dont use it, and it shows a blank row (indicated by the red marker on the attached pic).
Is there any properties or any code I should use? btw im working this in RTC and using Visual Studio Report Designer
Any kind of help will be much appreciated!
Thank you very much!
Regards,
Stasha
my previous post was about the extended text line on the report, not it is working correctly and i found another problem on my report, it is Order Confirmation report but I have modified few items on it.
The problem is If there is no text line below the description, it always show a blank lines.
Is it possible to automatically set the next item to be on the next row if there is no extended text line on the report?
Because usually my company need 4 rows below the description to show the extended text, and sometimes they dont use it, and it shows a blank row (indicated by the red marker on the attached pic).
Is there any properties or any code I should use? btw im working this in RTC and using Visual Studio Report Designer
Any kind of help will be much appreciated!
Thank you very much!
Regards,
Stasha
0
Answers
-
I am not sure what you have done exactly(customize).
Write it on onpresection trigger from where blank space printingCurrReport.ShowOutput(standardtext <> ' ');
0 -
Thanks for the reply vijay!
The customization was only the design and the positions and also the additional fields in the reports.
I know nothing abuot coding/programming since im a business student so what I have done only as far as the positioning of the textbox.
Below the descriptions i put the text line fields, i'll show you another screenshot of the Visual Studio Report Design then.
I think those 2 fields that i marked create the blank line when it is empty.
Is the code gonna work also in RTC since im using Visual Studio.
Thanks !0 -
bonzie wrote:I know nothing abuot coding/programming since im a business student so what I have done only as far as the positioning of the textbox.
Your welcome!!!
your case is totally based on technical you will have to use two more sections for blank spaces..
1. current section should be only for those text boxes those coming before blank spaces.
2. another(you will have to add) will be only for blank spaces
3. remaning will be in last section.
i suggest you to please consider to any technical person..0 -
Hi vijay,
i have found the solutions for this
It turns out you can play a little bit with the visibility options and put expressions on it.
I put =IIF(Fields!Sales_Line___Description_2_.Value<>"" = "1",false,true) in the row visibility options, and it turns out just the way i wanted!
Thank you for your kind suggestions!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions