I have found several question regarding Dataport import. One is if a description filed has 80 char in file, but only 50 char in table. You have to write code so that only the 50 first char are imported.
I tried to do that in the OnAfterImportRecord. That did not work, and in OnBeforeImport it doesn't have any data to handle.
I found out in the C/SIDE help that in OnBeforeEvaluateField data is imported but not evaluated. It is listed under Triggers in the help file.
My problem is that I can not find this. It is not in the trigger list of the c/al editor.
Does anyone know where to find this or activate it?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'll start checking it out....
It works fine, just remember to use the VAR Text variable.