Dataport in Excel format

Kau_147
Member Posts: 84
When I run the dataport, the data will be posted in Excel file...
In that there is an Bank Account No. which is not printing in proper format.
i.e. The Account No. is '2400330001001'
But it is showing as '2.4E+12'
I tried to format that Bank Account No. as Format(bankAccNo,1) but its still printing the same.
Please help!!
In that there is an Bank Account No. which is not printing in proper format.
i.e. The Account No. is '2400330001001'
But it is showing as '2.4E+12'
I tried to format that Bank Account No. as Format(bankAccNo,1) but its still printing the same.
Please help!!
Best Regards,
Kavita Mutha
Kavita Mutha
0
Comments
-
Did you search the forum?0
-
Yes !!!!
But thats not match with my query!!!Best Regards,
Kavita Mutha0 -
Kau_147 wrote:When I run the dataport, the data will be posted in Excel file...Cem Karaer @ Pargesoft
Dynamics NAV Developer since 20050 -
Open the Excel file
Select the column with the Bank Acc. No. in.
Move your cursor the edge of the columns left/right border, until the cursor appears as "<-|->".
Doubleclick and you see the column taking the width of the largest value.
Your 2.4E+12 should appear as your full Bank Account Number.
Now, Excel is a different software solution than NAV. Because of this, format in NAV will not have ANY effect in Excel.
Not even if you specify decimal places and ...
This is because Excel parses every value against it's own logic.
And a number will usually be treated as a number.
If you want to force Excel to recognise your number as an Bank Account number (aka string) then put ' (single quote) in front of the value.
Always mind where one program stops and the other starts when transmitting data between programs.
For future refernce, please use the correct terms for better help:
A dataport creates a file that may or may not be readable by Excel. But it does not need Excel.
A report using the Excel buffer, does use Excel.
And to everybody, I wish a you all a wonderfull 2012!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