BlankZero property.
kirkostas
Member Posts: 127
I want to ask if there is a way to make all reports use BlankZero = Yes without needed to open them separately and change BlankZero for every numeric control.
Thanks. \:D/
Thanks. \:D/
kirkostas™
0
Comments
-
sorry its not possible.
Experience Makes Man Perfect....
Rajesh Patel0 -
You can create some external tool which will take text file with the object and will add the property to correct positions. No other way around...0
-
I export some reports in text files and noticed that there were some numeric fields with BlankZero = No. Since the default value is <Yes> shouldn't I be able to write some code when finds BlankZero = No to make it Yes?
Maybe this is some king of solution.kirkostas™0 -
kirkostas wrote:I export some reports in text files and noticed that there were some numeric fields with BlankZero = No. Since the default value is <Yes> shouldn't I be able to write some code when finds BlankZero = No to make it Yes?
Maybe this is some king of solution.
Problem is, that default values are not exported in the text. If you have somewhere No, you can do just search&replace in the text file. But you still needs to change the property BlankNumbers to "BlankZero" too...
and one thing:
The property shows you that default is yes (but only if the used variable is field from table and the property on this field is set to yes), but in on-line help you will find that:
Where is the truth? ;-)Blank zeros and No Yes
Display zeros and No No (default)0 -
Some news:
The default value of BlankZero on the report depends on the value of this property of the table field you use in the SourceExpr. If the field has Yes, the default on the report will be Yes... but in general, this property is No by default...
This make it more complicated...0 -
Yes I know all that. If it is a field from a table then the default value is Yes but if it is a variable (decimal) the default value is No.
So I am working on Visual Basic to make a project that it will read the text file and remove all references to BlankZero. Then it will scan the whole file again collecting the fields from SourceExpr property and all the decimal variables from the end of the text file. Now scan it again from the beginning I will be able to add to all decimal fields the BlankZero=Yes and for all variables that were decimal I have the ID (TotalsDB@1420079 : Decimal;) and i will know where to put the BlankZero=Yes.
I think this will be a very nice utility.
kirkostas™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
