On Click for ComboBox

NearImpossible

Registered User.
Local time
Today, 02:56
Joined
Jul 12, 2019
Messages
225
Is there a way to mimic the OnClick process that occurs with a text box for a ComboBox?

I have a hidden field that highlights whenever the record is selected, which works great. The following code is set in the Form_Click event and then the hidden field is conditionally formatted to highlight based off of that result.

Code:
Me.txtCurrentRecord = [EquipmentID]

For each of the text boxes and comboboxes, I have a conditional formatting set for the "Has Focus" rule, so that each field shows a darker color when selected.

I also have
Code:
Me.txtCurrentRecord = [EquipmentID]
set for the OnClick event in each of the text boxes and ComboBoxes so they trigger the hidden field to highlight as well, however the ComboBoxes never execute the code when clicked.
 
how about OnFocus event.
 
how about OnFocus event.

Perfect, for some reason I was thinking that would be considered like a mouse over trigger so I didn't even try it.

thanks again !!
 

Users who are viewing this thread

Back
Top Bottom