megatronixs
Registered User.
- Local time
- Today, 02:40
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
I have a form with about 150 comboboxes. I need to check if one has a value "fail" and then set a field in the main form to red background.
I got the below code, but it fails to show the value of the combo box.
Any idea to get this done?
Greetings.
I have a form with about 150 comboboxes. I need to check if one has a value "fail" and then set a field in the main form to red background.
I got the below code, but it fails to show the value of the combo box.
Code:
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.ControlType = acComboBox Then
ctl.Value
End If
Next
Any idea to get this done?
Greetings.