Import .DAT file into DATAPORT facing problem!

bestianhowbestianhow Member Posts: 120
Hi,
I have facing a dataport problem.
Application Environment
================
Microsoft Dynamics NAV 5.00 W1
Microsoft SQL Server 2005 Std. Edition with SP2
Windows Server 2003 Std. Edition With SP2

I try to import a simple .DAT file into Navision, but not successful. System will assign whole .DAT record into Navision 1st field.
Do you have any solutions for this case?

Thank you.

Answers

  • kinekine Member Posts: 12,562
    What is the .DAT structure?
    Have you correctly set the dataport type? (Fixed - fixed field length, Variable - CSV like)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • bestianhowbestianhow Member Posts: 120
    Hi Kine,
    I have solved the problems.
    The Dataport properties' default FieldSeparator is <,>.
    I seldom change the default setting.
    Just now i found that the .DAT file is used TAB to separate the field, so i just changed the FieldSeparator is <TAB>.

    Anyway thanks.
  • bestianhowbestianhow Member Posts: 120
    Forgot to change the title.
Sign In or Register to comment.