system warning in dataport

Hi, is there any way to display a warning message when imorting data. For instance, if the no in the file to be imported doesn't match the no in the system, it will give an error. Thanks!

Comments

  • You can some code in the OnPreDataport-trigger.
    IF CurrDataport.IMPORT THEN BEGIN
      // in here you can do some tests and also you a CONFIRM to ask confirmation and the block the import with an ERROR or do nothing
    END;
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!