Dataport Import Problem From CSV File.

Purvesh_Maisuria
Member Posts: 71
Hello All,
I have a problem in IMPORTING data from CSV file with the help of DATAPORT.
Data in .CSV File which i want to import in my table posecode1.
This are dataport fileds i set.
Enabled SourceExpr StartPos Width
Yes Code 0 0
Yes City 0 0
Yes "Search City" 0 0
This is Dataport's Property I setted. I Also try FieldSeparator = <,> or <TAB> or < >(Space).
Result Result After dataport execution in the Postcode table is like this,
i want data in like this as a regular format.
Code City Search City
A B C
D E F
G H I
If Anyone have solution, please help me to solve this problem.
Thanks in Advanced
Purvesh Maisuria.
I have a problem in IMPORTING data from CSV file with the help of DATAPORT.
Data in .CSV File which i want to import in my table posecode1.
This are dataport fileds i set.
Enabled SourceExpr StartPos Width
Yes Code 0 0
Yes City 0 0
Yes "Search City" 0 0
This is Dataport's Property I setted. I Also try FieldSeparator = <,> or <TAB> or < >(Space).
Result Result After dataport execution in the Postcode table is like this,
i want data in like this as a regular format.
Code City Search City
A B C
D E F
G H I
If Anyone have solution, please help me to solve this problem.
Thanks in Advanced
Purvesh Maisuria.
0
Comments
-
A CSV file is separeted by ; so try that as FieldSeparator._____________________
NAV Freelance Consultant0 -
Hi cernst,
I Already do that but it is not working, infect i put <None>, <COMMA>, <TAB>, <,>, <;> it give me same output.
Thanks 4 Try & Reply.
Purvesh Maisuria.0 -
Unless it is the default, you only use the < and > in the FieldSeparator property to denote special separators like <TAB>. Otherwise you just use a comma. Your dataport is probably looking for the exact text of <,> and not finding it, thus treating the entire line as one field. So remove the < and >.0
-
Hi Matttrax Sir,
Grand Salute To U. =D>. Its Working Just Fine Now, Thanks 4 Giving Such a Exact Solution. Actually I Tried With ; without < and > But forgot to try , without < and > bz i tried lots of option like <COMMA>, <;>, <,>, <TAB>, <NEWLINE>, ; , TAB, lots of but not try ,(simple comma). By the Way Thanks Once Again 4 Sach a Wonderfull Reply, Hope U will solve problems of mine in future. Thanks Sir. =D>
Thanks & Regards.
Purvesh Maisuria.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