Error 131 during printing to excel.. HELP!

Becka
Member Posts: 178
Hey guys. I created a report, based on the Value Entry table, which collects all Sales related info and transfers then to Excel. In order to export data to Excel, I'm using Excel Buffer table.
I searched forum quite enough, but sill got no clue. I know 'bout a 2GB limit. [-( So, what can I do to solve this problem?
](*,)
Any help will be appreciated.
I searched forum quite enough, but sill got no clue. I know 'bout a 2GB limit. [-( So, what can I do to solve this problem?
](*,)
Any help will be appreciated.
MCSD
Attain Navision
Attain Navision
0
Comments
-
Does your error just say '131' or is there a more complete error message?0
-
-
you may check if you try to insert data into cells where column or row index is zero.
the indexes should start from 1.
Just a thought.0 -
serdarulutas wrote:you may check if you try to insert data into cells where column or row index is zero.
the indexes should start from 1.
Just a thought.
Nope, indexes're fine.. I think it's all about Buffer table size limitation... Correct me if I'm wrong, but fact is it works fine when time filter period is in short range.MCSD
Attain Navision0 -
maybe you can skip inserting "0" values and blank strings to the excel buffer. also, you can create such a routine:
if the current row is 60,000,
create the current excel file,
set the current row to 1
insert the header data and continue looping..
maybe you can create multiple files this way0 -
serdarulutas wrote:maybe you can skip inserting "0" values and blank strings to the excel buffer. also, you can create such a routine:
if the current row is 60,000,
create the current excel file,
set the current row to 1
insert the header data and continue looping..
maybe you can create multiple files this way
Thanks serdarulutas
I'll try this one
I told my clients to use short date filter ranges, and collect all those exported information in one excel file at the end. This is my solution 'till I'll find something else..MCSD
Attain Navision0 -
Hello,
Sorry to reopen a 1 year old thread but did you manage to use serdarulutas solution ?
I'm having a hard time writing a file (and flushing excel buffer) without completely exiting from the report...
Any help would be nice !
bruno.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