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
.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?