>Hi all,
> I keep on getting the message "THISFORM can only be used within a method" when I run a particular part of my program. I can't figure out which part of the program contains this error. Any ideas anyone? Thanks in advance.
>
>From,
Susan,
It is coming from a user defined function or a prg that you are calling from the form adn has THISFORM in it. THISFORM, THIS, adn THISFORMSET can only be used in the code that is part of a form or one of the objects inside the form. UDFs and Programs are not IN the form, they are simply code called from the form.