Problem with Export to Excel

tularam
Member Posts: 97
hello Experts,
I was tryig to export inventory items via Export to Excel functionality. There is a field Picture. I coded it like
CALCFIELDS(Picture);
TempExcelBuffer.INIT;
TempExcelBuffer.VALIDATE("Row No.",RowNo);
TempExcelBuffer.VALIDATE("Column No.",7);
TempExcelBuffer."Cell Value as Text" := '';
TempExcelBuffer.Formula := '';
TempExcelBuffer.Bold := FALSE;
TempExcelBuffer.Italic := FALSE;
TempExcelBuffer.Underline := FALSE;
TempExcelBuffer.Picture := Picture ;
TempExcelBuffer.INSERT;
(There i added picture field on excel buffer)
This works fine in Classic but While printing on RTC i can not get the picture exported
Please Help me>.>>>>>>
I was tryig to export inventory items via Export to Excel functionality. There is a field Picture. I coded it like
CALCFIELDS(Picture);
TempExcelBuffer.INIT;
TempExcelBuffer.VALIDATE("Row No.",RowNo);
TempExcelBuffer.VALIDATE("Column No.",7);
TempExcelBuffer."Cell Value as Text" := '';
TempExcelBuffer.Formula := '';
TempExcelBuffer.Bold := FALSE;
TempExcelBuffer.Italic := FALSE;
TempExcelBuffer.Underline := FALSE;
TempExcelBuffer.Picture := Picture ;
TempExcelBuffer.INSERT;
(There i added picture field on excel buffer)
This works fine in Classic but While printing on RTC i can not get the picture exported
Please Help me>.>>>>>>
0
Comments
-
Try by setting Property EnableExternalImages yes in reportUday Mer | MS Dynamics NAV Techno-Functional Consultant0
-
I am using the database not the external image0
-
edit-Mihail- [MCTS]0
-
mihail_kolev wrote:edit
What to edit???0 -
What are you trying to achieve? Should the pictrure showup in Excel?
Does that really work in the Classic Client? I'd expect that you have done more customisation to the excel buffer table than what shows in your post.
If this works, I assume you export the picture to a folder before you pick it up in excel. Maybe the picture now sits on the service tier when run in the RTC?0 -
As already mentioned we need a little more details on the user scenario.
Do you want the data incl. the picture to show up in Excel? Are you printing from Excel or do you expect it to print directly without showing up in Excel?
When you say that classic client works, how does it actually looks there, showing in report, excel or table?“This posting is provided "AS IS" with no warranties, and confers no rights.”
Lars-Bo Christensen
Software Developer @ Microsoft0 -
My user wants all the inventory items (For example) in excel file with picture within one of the cell after item description.
like::
Item description Picture Quantity on Hand
..........................................................................................
B1 Bicycle234
Exactly like this in first sheet of excel file.0 -
B1 Bicycle
234
Exactly like this in first sheet of excel file.
In such case you can just create a report with printed layout and select Print > Excel on request form. System will generate excel file for you.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