I have 5 listboxes on one form, "frmDriverEdit".
The double click event in each of these listboxes opens the same form "frmLoadControlPanel".
I have a command button with a series of 'IF' statements that will fire code depending on which listbox was double clicked in frmDriverEdit.
Does anyone know how to check within my 'IF' statement on "frmLoadControlPanel" which listbox was double clicked on "frmDriverEdit"
I've tried using the following code in the first line of my 'IF' statement:
If Forms!frmDriverEdit!lstDrivera.ItemsSelected.Count > 0 Then
to do the check but it is not working correctly.
Can anyone help?
The double click event in each of these listboxes opens the same form "frmLoadControlPanel".
I have a command button with a series of 'IF' statements that will fire code depending on which listbox was double clicked in frmDriverEdit.
Does anyone know how to check within my 'IF' statement on "frmLoadControlPanel" which listbox was double clicked on "frmDriverEdit"
I've tried using the following code in the first line of my 'IF' statement:
If Forms!frmDriverEdit!lstDrivera.ItemsSelected.Count > 0 Then
to do the check but it is not working correctly.
Can anyone help?
