I have a problem - when using a component for PDF - I ended up having an "Out of Range" error when generating the PDF document.
I found the problem with the error line and found that the error was because the user registered a "SLOT" in the searched field.
When you change the "TRANSFER" to "TRACE" - everything is back to normal.
Obviously the error in the component occurs because it does not identify the "TRANSFER" as a "Table" character - already it is not part of the default keyboard.
In thousands of entries it was the first time I had this problem - but as is common for customers to use the dash to separate the information from the field, (and I believe the problem occurred because the ORTOGRAFY BROKER automatically changed the dash by the dash) - wanted a solution to the problem.
This solution is simple ..
just check the data sent in the register and change the TRANSFER by TRACE using the "REPLACE" command
REPLACE(texto, "TRAVESSAO", "TRAÇO")
My question is - how do I report the "TRANSFER" in the code - since it does not exist on the keyboard.
Thanks!