Export records in file ascii

robertober
Member Posts: 8
I want to export records in file ascii.
How can I do?
](*,)
How can I do?
](*,)
0
Comments
-
Look at dataports...0
-
I looked at the dataport but have not found the solution would need instructions0
-
-
Dataports are used to import / export data... Read the documentation / help on this and we'll be happy to provide assistance for more specific issues (e.g. you built your dataport but something is wrong)...0
-
Excuse me, I explained badly.
I know what is a dataport, but I don't know how to use it to export a file in Ascii format.0 -
Do you know what is Ascii? What do you think that you get when you use the dataport?
Dataport IS creating ASCII file...0 -
Sorry, but what kind of field delimiter ,fieldseparator ,RecordSeparator or other settings need to use0
-
it is on you, that is not part of some ASCII definition. You do not need to change anything, you can use the default values. If you have some specification you need to cover, you need to set it according the specification...
Still I think you do not understand what you want to know and thus we do not know how to help you. Can you be more specific and wrote more details about your task? May be it will help you to narrow your thoughts and it will give us more info...0 -
are you confusing "ascii file" with "text file"?
The dataport allows you to set your own delimiters & seperators0 -
I need to create an ascii file with these specifications:
Record Separator (0D) ,in the end of record newline (0A).
I don’t understand these specifications (0D) and (0A)
and i don’t know how to export fields with fixed width
Thanks for your cooperation0 -
Not knowing about text files, and not knowing anyhting about dataports severely limits your ability to export data out to a text file. If you work for a NAV partner, now is the time to get a more senior person involved, so they can show you how this is done. If you work for an end user, you should get your NAV partner involved. Creating a straightforward dataport shouldn't take more than an hour or two.0
-
you can start by reading PART 7-DATAPORTS in the application Designers guide
http://download.microsoft.com/download/ ... 1w1adg.pdf
I suggest printing it out & putting it into a folder0 -
0D and 0A mean characters with hexadecimal value 0D and 0A - it means char 14 and 10 in decimal. But are you sure that theRecord Separator (0D) ,in the end of record newline (0A)
Because "newline" = 0D 0A (it means pair of characters 0D and 0A) and it means the default record separator which is used in dataport. It means that you do not need to change anything. Better will be to think about "field" separator which is in most cases ; or ,.0 -
kine wrote:Better will be to think about "field" separator which is in most cases ; or ,.
But be sure, that there is as data in the fields that you are export / import no sign like your delimiter sign (here in the example ; ,)
Use as FieldSeparator a charecter that is not used (for example ° or ^ or others). So the Dataport works well and you have no problems
RegardsDo you make it right, it works too!0 -
I have another problem I can not align right numeric fields.
Setting the starting position and the number he writes from the set position.
how can I do0 -
Look for OnAfterFormatField trigger of the Dataport field - there you can "right allign" the text if you want.0
-
What should I write code to align right?
Thanks for your cooperation0 -
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