>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
The problem is with this line
> ThisForm.Commandgroup1.Command2.Enabled = .F
You wrote .F instead of .F.
Brien R. Givens
Brampwood Systems