tell me simple steps of dataport..

rutvij_gaidhanirutvij_gaidhani Member Posts: 6
can any body tell the most common steps of dataport..bcoz wen i try it gives me error of fields lenght..everything i have checked twice and its correct..dont know how the error comes.

Comments

  • NagiNagi Member Posts: 151
    Hi,

    Here are some suggestions to your problems..

    1) - Make sure that any global variables keyed to the different dataport fields are of the correct value and length.

    2) - If the document you're trying to import has a row with headers, then either delete this row or make sure that your C/AL code is set up to handle the headers.

    3) - Check the properties of your dataport and make sure that the fieldstart delimiter, fieldend delimiter, fieldseperator, record seperator, and dataitem seperator are correctly set up. If you're not sure what the correct value should be, then just check dataports that import similar documents to the one you're currently trying to import.

    I hope this helps. Cheers!
  • SavatageSavatage Member Posts: 7,142
    adding to point #2 above

    Read this to handle datafile that contain headers!
    Works Great!
    http://www.mibuso.com/forum/viewtopic.php?t=10564
Sign In or Register to comment.