XMLPORT Import Problem

weis_guysweis_guys Member Posts: 8
I have just written my first XMLPORT to bring in data from a 3rd party software package, along with a simple codeunit to run it. I have a table set up to be populated with the incoming data.
The only problem is that it only creates one record in the table - the last one.
It's been a long day what am I missing?

Comments

  • weis_guysweis_guys Member Posts: 8
    Trial and error got me through...
  • SavatageSavatage Member Posts: 7,142
    What was you solution? Was it a Line No. Issue?
  • weis_guysweis_guys Member Posts: 8
    It actually had to do with the fact that the data I was extracting existed on more than one indent level and I actually had the File tag itself defined on the wrong level. The one piece of data I needed from the higher level (lesser indent - not sure the proper terminology to use) I put into a variable and used code to populate the field once I was at the level where the other data was.
    If this doesn't make sense I can post a simple example.
Sign In or Register to comment.