Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Scott Malinowski
  Where is Scott Malinowski?
 Bennington
 Vermont - United States
 Scott Malinowski
 To: Andy Kramek
  Where is Andy Kramek?
 Hot Springs Village
 Arkansas - United States
 Andy Kramek
 Tags
Subject: RE: Loading error...THISFORM cannot be use within a method
Thread ID: 78462 Message ID: 78511 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Tuesday, October 04, 2005 6:05:29 PM         
   


> > Hi,
> > I have encountered a problem everytime I used to run my form with data environment. The messagebox appears like "Error in loading...THISFORM cannot be use within a method".
> >
> > Hoping for your reply...
> >
> > Christian Tabligan
> > CSA-B, Student
> >
> > Visual FoxPro is like a game...need to explore until you reach your goal to success!!!

>
> Sounds like you have a filtered index created on a table that is using a reference to a value from the form (i.e. INDEX ON field FOR value = ThisForm.[something] ).
>
> Try opening your tables one by one until you find the one that has the errant index. Then you will have to delete the CDX for that table and re-create it. Then, in your form, find the code that does this and either do it another way, or ensure that the index created using this is deleted before the form closes.
>
> Regards
> Andy Kramek
> Microsoft MVP (Visual FoxPro)
> Tightline Computers Inc, Akron Ohio, USA



Agreed or a filter or a relationship.

ENTIRE THREAD

Loading error...THISFORM cannot be use within a method Posted by Christian Tabligan @ 10/4/2005 6:15:44 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Boudewijn Lutgerink @ 10/4/2005 9:48:46 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Erik Gomez @ 10/4/2005 9:58:35 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Christian Tabligan @ 10/4/2005 11:15:31 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Erik Gomez @ 10/4/2005 11:46:36 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Andy Kramek @ 10/4/2005 1:42:58 PM
RE: Loading error...THISFORM cannot be use within a method Posted by Scott Malinowski @ 10/4/2005 6:05:29 PM
RE: Loading error...THISFORM cannot be use within a method Posted by Christian Tabligan @ 10/5/2005 7:06:24 AM
RE: Loading error...THISFORM cannot be use within a method Posted by Andy Kramek @ 10/5/2005 12:29:26 PM
RE: Loading error...THISFORM cannot be use within a method Posted by Erik Gomez @ 10/5/2005 12:53:08 PM