RTC, Standard Export to Excel resulted faulty output

cwhmy
Member Posts: 24
Hi Experts,
From a Page of 15 rows records with multiple fields, through clicking the Standard Export to Excel button (upper left the "Print & Send" -> "Microsoft Excel") exported the Excel file,
in one machine running Nav7 exported without seeing one of important Fields (not printed/exported). e.g. Name field of a group of customer is disappeared, but other fields are exported.
in another machine running Nav601 exported with wrong name, first name in the rows is carrying down to every subsequent rows. e.g. 15 rows of records, on the Name field, the output is Peter for all 15 rows.
Important Note: the Name field was set in a function being called under DataCaptionExpr property of the page.
Is this a known issue? Anything you would suggest? TQ
From a Page of 15 rows records with multiple fields, through clicking the Standard Export to Excel button (upper left the "Print & Send" -> "Microsoft Excel") exported the Excel file,
in one machine running Nav7 exported without seeing one of important Fields (not printed/exported). e.g. Name field of a group of customer is disappeared, but other fields are exported.
in another machine running Nav601 exported with wrong name, first name in the rows is carrying down to every subsequent rows. e.g. 15 rows of records, on the Name field, the output is Peter for all 15 rows.
Important Note: the Name field was set in a function being called under DataCaptionExpr property of the page.
Is this a known issue? Anything you would suggest? TQ
0
Answers
-
You should call the function in the OnAfterGetCurrRecord() OnAfterGetRecord() instead of DataCaptionExpr.
DataCaptionExpr is used to dynamically get different captions for a field not different values for a field.0 -
Hi Krishorm, it doesn't help for any change the output of exported Excel0
-
Sorry, I meant OnAfterGetRecord()0
-
Thanks but it doesn't either.
Found out something here through a series of quick attempts:
1. Nav700 paired with Excel 2013 => Passed. Perfect Output
2. Nav700 paired with Excel 2016 => Failed. Name field is disappeared/missing
3. Nav800 paired with Excel 2013 => Failed. first name in the rows is carrying down to every subsequent rows.
4. Nav800 paired with Excel 2016 => Failed. "Microsoft Dynamics NAV Excel Add-in encountered an internal error ...... bla bla"
side note: Nav602 paired with Excel 2013 works like a charm too. => Passed. Perfect Output.
It looks like the built in feature is not so supported.
Besides manually construct it heavyly, anyone any other idea? TQ0
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