Exporting text: Replacing commas in numbers
Cannikin
Member Posts: 72
Hey guys,
I have a really simple situation. I've got a dataport that exports several fields from our Item table. When it outputs prices, there are commas for anything $1000 or more but I need to get rid of those. What's the Navision function to replace text? Thanks!
I have a really simple situation. I've got a dataport that exports several fields from our Item table. When it outputs prices, there are commas for anything $1000 or more but I need to get rid of those. What's the Navision function to replace text? Thanks!
0
Comments
-
I would recommend you to always change the "FieldSeparator" and to use bizzare chars (¬) to separate the fields from one to another. Now when you export the file to txt you should only have the ',' within the fiels which you can easly replace in the notepad.
(should be programmable but it doesn't worth the thinking)Navision Developer0 -
There is a format property for each field in the dataport field designer where you can choose a desired format (other than the default which differs for the separate country versions). For help on this put the cursor on "Format" and press F1.Kai Kowalewski0
-
Aleix - That's what I'm doing now, I was just hoping to remove that step in the process and have Navision do it directly.
Kowa - That did it! Thanks!!0 -
If you are exporting to Excel, try www.print2excel.com. You don't have to worry about all of that comma-delimited stuff.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
