It's wrong way to go about it. You should create base form class with the code and than base all such forms on it.
>i'm trying to use sqlserver as backend. i need to recode forms. the SPT code that insert, update and delete has been tested with two forms. it runs well.
>i need now to copy these codes into all forms.
>i don't want to do it with form designer. it will take long time. i'm so trying to run a procedure that modify all forms.
>this is why i'm searching an easy way.
--sb--