Import 2 files with 1 XMLPort

RMarcRMarc Member Posts: 36
Hi!

I'm into an upgrade of Nav 4.0 to 2009 SP1, and i've a problem... I'm converting dataports to xmlport. The problem is that a dataport, import data from two different files, which are indicated in "OnRequestForm" and then loaded into the "OnPreDataItem" of each DataItem.

I created a XMLPort, but i don't know where i need to put the code, due to, if i fill the path of each file in the OnRequestPage, then, the XMLPort only can import one file...

Can anybody help me please???
Thanks in advance!!!

Comments

  • ara3nara3n Member Posts: 9,256
    I would have to see the text file structure,

    but you could just combine the two files into one and then import it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.