Absolutely nothing - just what you told me. With the textbox name changed from "text8" to "vSearchvalue".
>What else do you have in the refresh method?
>>I put that in there - no good. The search box is still read-only.
>>
>>>Should be just:
>>>
>>>IF !THISFORM.buttonset1.editmode
>>> THISFORM.text8.ENABLED = .T.
>>>ELSE
>>> THISFORM.text8.ENABLED = .F.
>>>ENDIF
>>>
>>>
>>>>>Sorry, took so long getting back to you, I took a 4-day weekend.
>>>>
>>>>No problem at all. I hope you enjoyed your weekend! :)
>>>>
>>>>>did you go into the refresh method of the textbox or the form and put in the code for setting the enabled equal to .T. for that textbox?
>>>>
>>>>I've tried that, and it had no effect. Maybe I'm entering that piece of code incorrectly? What, exactly, would the syntax be for the Refresh method code?