Hi Andy....Assume that TextBoxA controls the enabling/disabling of TextBoxB, OK?
THIS.Parent.TextBoxB.Enabled=(THIS.Value="Whatever to trap")
THIS.Parent.TextBoxB.Refresh()
>I must be missing something very simple but I can't fixgure out how to
>disable a text box or check box based on data selected somewhere else in a form.
>
>Example:
>Is Text box A has Xdata in it
>
>Then textboxes g & h will be greyed out and not even in tab order and will be skipped
>
>Thanks in advance
>Andy
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05