>>>>>>My company purchased a VFP 5 software package. I have been tasked with trying to figure out why it runs so slowly. When I built the application it generated about 40 undefined errors due to array references//parameters. I know these errors don't hurt the execution but I like things clean. I decided to get rid of them by adding EXTERNAL ARRAY declarations where needed. I did this to the PRG and SCX files and got the number of errors down to 7.
>>>>>>
>>>>>>Now I'm trying to get rid of these errors ... the On Entry expression ...didn't do it.
>
>You can add a 'Dummy Procedure to the main procedure file - that way you don't have to find where each report or array is referenced.
>
>PROCEDURE DUMMY
>PUBLIC ArrayName1[1],ArrayName2[1], .... etc
>Return
>
>This fools the compiler and gets rid of the annoying messages. It is never called so doesn't actually affect the program.
Thank, David
I'll give that a try.