>Thanks for your answer.
>But maybe I don't understand you.
>
>Ex. ResetFields() in cntaddress (Address Class)
>Inside this method:
>
>WITH .... (what i need to put here so it works, no matter where the class is on the form)
> .txtaddress.value=""
> .txtapt.value=""
> .txtcity.value=""
> .
> .
> .
>ENDWITH
You can use
WITH THIS.PARENT...(etc)
as needed.
One neat trick: when you're in a method window, you can right-click and select "Object List...". If you select an object to reference from the list, a RELATIVE reference will be generated automatically.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up