I don’t understand why you are starting a new thread. This is likely to get deleted as a duplicate of:
(I think this may have already happened once before)
If you have more information to add, please add it to that earlier thread to keep all the information together in the one place.
If the earlier method using Wordpad is not practical due to a large number of documents then I suggest you do it on a few files and compare the before and after rtf files. You can then see what the differences are and perhaps write some code to automatically do those changes. Remember rtf files are just text files and can be manipulated by your code (did I mention StringTheory?). Just a thought.
it is hard to know when you didn’t say whether you had any success with my earlier suggestion:
if it is still not working, maybe attach a few RTF files before/after the Wordpad fix and show your code to do the desired transformation - assuming you could readily see the differences and were able to have a go at doing the fix programatically.
Assumption: You are able to fix the rtf’s using Wordpad but you want to do it in Clarion code instead. Is that correct?
I thought you could fix the problems manually by pasting into WordPad and saving but there were too many of the forms so you wanted a fix in code. But now I read there are only one or two files/forms with the problems and for some reason WordPad is not solving the problem.
Perhaps if you can zip up the forms that are failing and post them if they are not too large then I (or someone else) can look and see if we can spot the problem. Also include a screen shot of the exact error message for each form as the Read Aborted message seemed to have some location information (the first field was ‘pos:’). Perhaps there are some invalid characters that you need to remove?
The best tool that I know of (and which I always give a free plug to) is StringTheory. I am biased but I think it is the perfect tool for slicing and dicing strings. Clarion comes with SystemString but I do not think it is as good and I am not as familiar with it.