Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expression is not valid outside of WITH/ENDWITH
Message
From
06/06/2001 14:58:49
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Expression is not valid outside of WITH/ENDWITH
Miscellaneous
Thread ID:
00515968
Message ID:
00515968
Views:
144
I get this error message (stated as in title) and I am not even using any WITH/ENDWITH. I could scroll the listbox until I get one of the two line (SFS or VISA) then all of sudden, the error message pops up. I have simpliar code for another form and works flawless. In the debugger, the arrow shows the 6th line of the white text below. Can you review the following and see if something is not correct? I can not even put SET STEP ON or WAIT WINDOW in that white text below to try follow thru, also, this isn't working correctly anyway (not disabling).

Method: checkauthforauthtype (Visibility: Public)
List1.InteractiveChange: ThisForm.CheckAuthForAuthType(m.at)

Form1.ThisForm.CheckAuthForAuthType
LPARAMETERS lcAuthType
SELECT auth
SET ORDER TO authtype
SEEK lcAuthType
IF FOUND()
	ThisForm.Commandgroup1.Command2.Enabled = .F
	ThisForm.CommandGroup1.Command4.Enabled = .F.
	atct = .T.
ELSE
	ThisForm.Commandgroup1.Command2.Enabled = .T.
	ThisForm.CommandGroup1.Command4.Enabled = .T.
	atct = .F.
ENDIF
SET ORDER TO main
SELECT authtype
Today is tomorrow's yesterday.
Next
Reply
Map
View

Click here to load this message in the networking platform