A large number of text strings have been hard coded into 96 procedures used in a project. Using the list of procedures in the project DBF, I would like to scan all of procedures replacing a given character string with a second character string.
In EDIT, you can select a procedure and do a find and replace within one procedure. However, there are 96 procedures with more than 57 strings to be replaced....
I have looked at processing the procedures at a low level - FOPEN, etc - without luck. I'm now looking at opening each procedure in a memo, search for and replace each string, and then saving as a prg. Would this mess up the format of the prg?
Is there a better way of doing this? I’m sure this is not unique.
Thanks for the assistance in advance...
You guys have been great in the past.
In EDIT, you can select a procedure and do a find and replace within one procedure. However, there are 96 procedures with more than 57 strings to be replaced....
I have looked at processing the procedures at a low level - FOPEN, etc - without luck. I'm now looking at opening each procedure in a memo, search for and replace each string, and then saving as a prg. Would this mess up the format of the prg?
Is there a better way of doing this? I’m sure this is not unique.
Thanks for the assistance in advance...
You guys have been great in the past.