G
Guest
I am trying to make one combo box dependent on another in Access 2002. I
followed the instructions on this page:
http://office.microsoft.com/en-us/assistance/HA011730581033.aspx?mode=print
which had me copy code such as:
Private Sub Form_Load(Cancel As Integer)
Me.Category = Me.Category.ItemData(0)
Call Category_AfterUpdate
End Sub
But when I try to run any of the procedures I get the error message:
"The expression OnLoad you entered as the event property setting produced
the following error: Procedure declaration does not match description of
event or procedure having the same name"
I'm not that familiar with VBA, but I know a bit about programming...I
understand the message, I just don't understand why I'm getting it or how to
fix it.
Thanks!!!
-xana
followed the instructions on this page:
http://office.microsoft.com/en-us/assistance/HA011730581033.aspx?mode=print
which had me copy code such as:
Private Sub Form_Load(Cancel As Integer)
Me.Category = Me.Category.ItemData(0)
Call Category_AfterUpdate
End Sub
But when I try to run any of the procedures I get the error message:
"The expression OnLoad you entered as the event property setting produced
the following error: Procedure declaration does not match description of
event or procedure having the same name"
I'm not that familiar with VBA, but I know a bit about programming...I
understand the message, I just don't understand why I'm getting it or how to
fix it.
Thanks!!!
-xana