Dataset return extra field for decimal column

cesabo
Member Posts: 20
Hello there,
Just saw, that if i have 1 decimal column in the report, the Visual Studio dataset_result show the original field + 1 extra formated field, any idea why or anyone know how to remove that field ?
Just saw, that if i have 1 decimal column in the report, the Visual Studio dataset_result show the original field + 1 extra formated field, any idea why or anyone know how to remove that field ?
0
Comments
-
It's used to forward the numeric format from NAV to the RDLC report layout, to avoid hardcoding it.
Looking at a whatever standard report you will notice in the layout that for numeric fields the Format property is evaluated in the following way:=Fields!Amount_GLEntryFormat.Value
* Daniele Rebussi * | * Rebu NAV Diary *0 -
Thanks for the answer.
Do you have any idea is there any way to remove this format, because the dataset become bigger and there is a risk of "out of visual memory error" ?0 -
cesabo wrote:Thanks for the answer.
Do you have any idea is there any way to remove this format, because the dataset become bigger and there is a risk of "out of visual memory error" ?
You need to have in the dataset designer the field already converted in string with a FORMAT function.
We are anyway talking about a very small amount of data even for reports with a high number of rows: usually out of memory exceptions are caused by images fields not cleared and repeated N times in the dataset.* Daniele Rebussi * | * Rebu NAV Diary *0 -
geordie wrote:cesabo wrote:Thanks for the answer.
Do you have any idea is there any way to remove this format, because the dataset become bigger and there is a risk of "out of visual memory error" ?
You need to have in the dataset designer the field already converted in string with a FORMAT function.
We are anyway talking about a very small amount of data even for reports with a high number of rows: usually out of memory exceptions are caused by images fields not cleared and repeated N times in the dataset.
I agree with the images and the loop for them. But we have reports with huge amount of data only (without any images) and the report crash with "out of visual memory". The report is simple, with like 4 datasets and no more then 30 columns, but most of the columns are decimal. That's why i am wondering is there anyway to remove those extra FORMAT fields from the dataset.0 -
Hi, ( as Geordie suggested above: ) as a work-around you could of course do the formatting in NAV already, put the formatted value in a text-variable and use that variable in your dataset.
Only thing is then to make sure that in your report the data is usable as decimal value, but I assume that will not be a problem.Jan Veenendaal0 -
Some tips about RDLC performance improvement by NAV team here, including the refactoring of decimals.* Daniele Rebussi * | * Rebu NAV Diary *0
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
- 322 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