Options

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

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

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    RockWithNAVRockWithNAV Member Posts: 1,139
    Put message and see which trigger invokes when, you can do this by yourself.
  • Options
    Ashu8Ashu8 Member Posts: 14
    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.