How to create an error message when Dataport import an Empty file ??

How to create an error message when Dataport import an Empty file ?? I am importing CSV file using dataport, If file does not contain any data it should throw an error.

Answers

  • neilgfneilgf Posts: 145Member
    Hi. Dataports are dump so you will need to add some code preimport. Neil
  • Ashu8Ashu8 Posts: 14Member
    what code sir...?
  • krikikriki Posts: 8,799Member, Moderator
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]

    Regards,Alain Krikilion
    Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
    NAV TechDays 2019: 21 & 22 November 2019, Antwerp (Belgium)
  • RockWithNAVRockWithNAV Posts: 878Member
    Put message and see which trigger invokes when, you can do this by yourself.
  • Ashu8Ashu8 Posts: 14Member
    I just want to skip/stop the empty file to be imported into Navision when text file is empty ? is there any code to be written in any trigger?
Sign In or Register to comment.