Error log

Hello!

I have been asked to modify a function displaying errors from a dataport. When the dataport a messege is displayed showing the items with errors not imported. The function uses a Text-variable with the lenght 255 and if there are more errors than the variable can hold they don´t get displayed. Now I´m asked to make it possible to show all errors. I can´t really decide how to go about this in the best way. Increasing the variable to 1024 would only help a bit, vriting a log file was my first idea but I think they still whant the error displayed after import. Any ideas of how I should go about this for best result?

/JlT

Answers

  • Hi JIT,
    Have you considered a variable as BigTxt - it is a little special to Work with (see the CA/L help), but it contains up 2Gb per line.
  • JlTJlT Member Posts: 18
    We ended up using a table and populating it with the errors this way the customer has the ability to review the errors after he is done as many times as he wants.

    /JlT
Sign In or Register to comment.