Andy...
Have you tried, in the VALID or INTERACTIVECHANGE of txtBoxA:
WITH THISFORM
.txtBoxG.Refresh()
.txtBoxH.Refresh()
ENDWITH
and then in the Refresh of G and H:
THIS.Enable = (THISFORM.txtBoxA.Value = xData)
This way, G and H will be either Enabled or Disabled, depending on what you expect them to find in A.
Scott
>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
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation