How are ya mpsDA . . . . .
Here's an example using a Checkbox:
[ol][li]In the [blue]
Tag[/blue] property of the [blue]controls of interest[/blue], add a question mark ([blue]
?[/blue]). You can group select and make one entry for all.[/li]
[li]Set the following [blue]properties[/blue] for the checkbox:
[ol a][li]Default Value [purple]
False[/purple][/li]
[li]Triple State [purple]
No[/purple][/li][/ol][/li]
[li]In the [blue]code module[/blue] of the form, copy/paste the following routine:
Code:
[blue]Public Sub EnableHandler()
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.Tag = "[purple][b]?[/b][/purple]" Then
ctl.Enabled = Me![purple][b]YourCheckboxName[/b][/purple]
End If
Next
End Sub[/blue]
[/li]
[li]Next, in the [blue]AfterUpdate[/blue] event of the checkbox and [blue]OnCurrent[/blue] event of the form, copy/paste the following line:
Code:
[blue] Call EnableHandler[/blue]
[/li][/ol]
[purple]Thats it! ........[/purple]
See Ya! . . . . . .