Pete,
Try
FOR EACH oControl IN ThisForm.Controls
oControl.Enabled = .F.
ENDFOR
Thanks, Pete
(Trial-and-error programming!)
>I've seen this somewhere before, but I can't locate it in any of my reference books. How can you, e.g. disable all the controls on a form? Isn't it something like
>
>FOR EACH xxxx IN ThisForm
> xxxx.ENABLED = .F.
>ENDFOR
>
>Sorry to bother y'all for this elementary question, but I just can't find or figure out the answer.
Pete Donahoe
Once a programmer, always a programmer!