importing data from excel
deepblue
Member Posts: 152
hello,
I want to import data from a datasheet from excel. Can you help me and give me an exemple of a code that does this!!!!
thank you!!!
I want to import data from a datasheet from excel. Can you help me and give me an exemple of a code that does this!!!!
thank you!!!
0
Answers
-
Save as CSV from Excel and Use a Dataport.
Create new dataport. Pick your table. Add fields to be imported..
If you need to read from an Excel worksheet without this step, you need to use Excel Automation. This is pretty simple as well. Check Table 370 for examples of writing to Excel. Reading is identical.0 -
You can see this below topic:
http://www.mibuso.com/forum/viewtopic.php?t=10544 or
I think you will use form ID # 8600 and 8601 in the object designer. to activifying both, just click run button.
rgds,
Johnson ALonsosubscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
Hey,
I think there is another way if your file from excel, that is by using save your file in the CSV extension file and then import the file using dataport feature.
rgds,
Johnsonsubscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
Better save it as tab-seperated, you will have less problems.Styvie wrote:Save as CSV from Excel and Use a Dataport.
Dataport: use the following properties
"FieldStartDelimiter","FieldEndDelimiter":<None>
"FieldSeparator":<TAB>Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
An example of importing data from an excel spread sheet can be found in Report 81 "Import Budget from Excel".
/Frank0 -
True...
//Better save it as tab-seperated, you will have less problems.
//Dataport: use the following properties
//"FieldStartDelimiter","FieldEndDelimiter":<None>
//"FieldSeparator":<TAB>0 -
thanks Kriki!!!
it works well!!!!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions