D
David
Hello,
MSAccess 2003 - Win2K
I am getting the follow error
"The expression On Change you entered as the event
property setting produced the following error: Object or
class does not support the set of events.
* The expression may not result in the name of a macro,
the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function,
event or macro."
Here is the VB code in the event procedure
Private Sub Combo0_Change()
Combo2.RowSource = "Select Distinct Cities from tblCounty
Where County ='" & Combo0.Text & "'"
End Sub
The event prodecedure runs when a county is selected from
a combo box list "Combo" and populates a "City" combo
box "Combo2" with the only those cities associated with
the selected county.
Please note, this had been working in the form until I
copied the database this morning to a cdr. It also worth
mentioning that the same event procedure is working on two
other forms in the database and the VB code is the same.
Help in troubleshooting this bug is greatly appreciated.
my email is (e-mail address removed)
Thanks
MSAccess 2003 - Win2K
I am getting the follow error
"The expression On Change you entered as the event
property setting produced the following error: Object or
class does not support the set of events.
* The expression may not result in the name of a macro,
the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function,
event or macro."
Here is the VB code in the event procedure
Private Sub Combo0_Change()
Combo2.RowSource = "Select Distinct Cities from tblCounty
Where County ='" & Combo0.Text & "'"
End Sub
The event prodecedure runs when a county is selected from
a combo box list "Combo" and populates a "City" combo
box "Combo2" with the only those cities associated with
the selected county.
Please note, this had been working in the form until I
copied the database this morning to a cdr. It also worth
mentioning that the same event procedure is working on two
other forms in the database and the VB code is the same.
Help in troubleshooting this bug is greatly appreciated.
my email is (e-mail address removed)
Thanks