>Hi,
>
>I have some code common to more than one form, that I put in procedures in a prg file. I call these procedure in the forms
>
>do proc1 in procfile with....
>
>But the performance seems to decrease a lot. I know I can put these into a class and drop that class into the forms. How does that compare to calling procs, peformance wise.
>
>Thanx
>Gnana
There is a known performance issue with procedures in prg files whose names are the same as the prg. IOW- If you only have one proc per prg, don't wrap it in PROCEDURE/ENDPROC, and if you have more than one proc per prg, don't give any of them the same name as the prg.
Erik Moore
Clientelligence