Hi all,
I have a file that contains two lines, the only difference between them is the field of time.
Here is an example:
Name1,ID1,StartingTime
Name,ID1,EndingTime
I want to import these two lines via a dataport in one line within a table like this :
Name1,ID1,StartingTime,EndingTime
Any idea plz.
Thanks
0
Comments
ID1 can be your identifier, just FIND it and make modifications to it when you read Ending time or the 2nd occurance.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
It's Ok. Tell me what data do you have in Navision (table) which matches to file no. 2 (Name,ID1,EndingTime).
the file contains:
Name1,ID1,Time1
Name1,ID1,Time2
Name2,ID2,Time3
Name2,ID2,Time4
.
.
.
And the fields of the table are:
Name,ID, StatingTime,EndingTime
I want for example that:
table.Name := Name1;
table.ID := ID1;
table.StatingTime := Time1;
table.EndingTime := Time2;