Aged Accounts Receivable

Navi_Learner
Member Posts: 356
How to change the font name and font color of the field in the aged accounts receivable report? For example if the there's past due, I want to change the past due amount's font name to Arial bold and font color to red.
Thanks in advance!
Thanks in advance!
0
Comments
-
There is no runtime property for that. You can only prepare more sections with the data in different fonts and select the right section when printing...0
-
NB Colours do not work in Navision reports either - If you search the forum you will find some work arounds for this.Edward Bloomfield
Lead Consultant
Theta0 -
But How to create a section with different font name on the past due amount and how to write the code? Thanks0
-
You will create two sections with same fields (controls). In one section, you change the font properties (you have special toolbox for this or you can use property window). In OnPreSection trigger of both sections you add code like:
CurrReport.SHOWOUTPUT(Your condition);
in second one you will use code like:CurrReport.SHOWOUTPUT(NOT(Your condition));
Where "Your condition" can be something like "Due Date"<TODAY etc..0 -
maybe he is looking for something even simpler than that. (not sure)
but anyway.
Tools->Object Designer->"Aged Accounts Receivable" report->Design->View->Sections
Right Clickon the field you want to change->Select "properties"
Scroll Down to FontName, FontSize, FontBold, FontItalic and play with those. You can also click on the property Name (ie. FontName) & hit F1 for details.
The name does say "Learner"0 -
Ah, sorry, it is my mistake (didn't read it carefully) - but there will be one problem - the color :-) You can change the color, on preview it will be OK, but on printer it will be still black... but it is normal and it will be never changed...0
-
Thank you! Recently I tried to create two sections based on the suggestion of Kami, but it doesn't work either. In my report, there are 30 days, 60 days past due and I created the array for instance amount[1] for 30 days, amount[2] for 60 days. If I write the condition like this amount[2]>0, there's error message telling me that array doesn't work that way, and so how I can write the code using the array? Thanks in advance!0
-
It must work, if you did not forget to define the variable as array (entering Dimension in variable properties)...0
-
Thank you, Kamil! It works perfectly.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
- 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