Post/Zip Code with 0,in csv file

rinki123
Member Posts: 367
Hi Experts,
I had ported some post codes into post codes table through dataport (using csv file).But after importing all the pincodes(ZIP), those Zip codes which contains '0'(zero) they skipped '0'(zero) and ported.
Just like; 0987655 but after porting into Navision through csv file it removes zero and ported only 987655.
Plz suggest me the solution to save & port '0'(zero) in database.
I had ported some post codes into post codes table through dataport (using csv file).But after importing all the pincodes(ZIP), those Zip codes which contains '0'(zero) they skipped '0'(zero) and ported.
Just like; 0987655 but after porting into Navision through csv file it removes zero and ported only 987655.
Plz suggest me the solution to save & port '0'(zero) in database.
Regards,
Rinki
Rinki
0
Comments
-
Check your csv file before importing is the column have same value that you want to import or check datatype of that column.
PS: Try to import with text file(convert your csv in text file and then check the value of column in text file).0 -
Check your csv file in a texteditor like notepad(++) (not excel, if opened by excel, changes of losing your zero's is way to high)
Next, make sure you import CODE and not integers/decimals.
Lastly, check if the postcode table has indeed code as datatype for zipcode.0 -
Use double quotes (") delimiters in the text file and import again. It should work. The column probably is treated as a number value, it should be treated as character.0
-
Sog wrote:Check your csv file in a texteditor like notepad(++) (not excel, if opened by excel, changes of losing your zero's is way to high)
Next, make sure you import CODE and not integers/decimals.
Lastly, check if the postcode table has indeed code as datatype for zipcode.
also if you need to open it in excel - don't just file->open in ->excel.
open excel & use the data import wizard so you can assign the fields type TEXT so you don't lose the leading zero0
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