Hi,
I have a form with a combobox which contains list of school codes stored in a table. The table contains school code and school name.
Whenever a school code is selected in the combobox, I would like to display the School Name in control tip text. But i couldnot able to figure out when can i update the control tip text.
I would like to get the value of selected entry of combobox whenever i hover on combobox list so that the control tip text gets updated automatically. The following is the code which i have written.
SCH_CODE.ControlTipText = DLookup("[SCHOOL_NAME]", "[SCHOOL]", _
"[SCH_CODE] = '" & Me.SCH_CODE & "'")
Can any one guide me on how to do this. Thanks.
I have a form with a combobox which contains list of school codes stored in a table. The table contains school code and school name.
Whenever a school code is selected in the combobox, I would like to display the School Name in control tip text. But i couldnot able to figure out when can i update the control tip text.
I would like to get the value of selected entry of combobox whenever i hover on combobox list so that the control tip text gets updated automatically. The following is the code which i have written.
SCH_CODE.ControlTipText = DLookup("[SCHOOL_NAME]", "[SCHOOL]", _
"[SCH_CODE] = '" & Me.SCH_CODE & "'")
Can any one guide me on how to do this. Thanks.