Message format lenght

Document ID : KB000010155
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

You are using Format Message to concatenate long fields. In certain cases when fields are too long, application crashes at the Format Message statement and you wants to be able to manipulate very long fields.

Background:

Application crashed related Format string limit of 2040.

Environment:
windows
Instructions:

Yes, there is format string length limit of 2040. As circumvention you can just add the following section in your exe’s ini file.
Give MaximumLenghOfTheString the value which is equal to length of the string you want to format and it will no longer get the crash.

[Strings]
Max String Size=<MaximumLenghOfTheString>