Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Statement not valid in a class definition error
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Statement not valid in a class definition error
Divers
Thread ID:
01241321
Message ID:
01241321
Vues:
130
Hi,

All of a sudden I'm getting a bizarre error when I run this program I've been working on. It started after I had to close out VFP development environment because of an some error (don't remember what it was).

The error I am now getting is (btw-before I was nowhere near or connected to this code):
"Statement is not valid in a class definition."

When I suspend to the debugger the line it stops on is a line within a method called SetReportType.

This is the code:
Lparameters tcUserTierClass, tcReportName, tnOrder


With this
	*instantiate userservice object and assign to property
	.oUserTier = NewObject( tcUserTierClass, tcUserTierClass + ".prg", "", thisform.DataSessionId)
	.creportname = ALLTRIM(tcReportName)
EndWith
It's in visual class, so I couldn't have added this outside any method, property or event!

Did something get corrupted? I tried recompiling the project several times to no avail.

I'm stumped (again).

Any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform