G
Guest
Here is a good one for ya.
I have a form that has multiple subforms on it. One of the subforms that I
have attempted to add will not work. I created the subform seperatly from the
form. When I did this everything worked great I have two feilds on this
subform. Charge category and legal charges. When the user chooses a category
the list for legal charges is limited to the charges that are under that
category. Things work beautifully. However, when I put this subform on my
main form, it no longer works.
It gives me a message box: "The LinkMasterFields property settin has
produced this error:'PRocedure declaration does not match description of
event or procedure having the same name.'"
I didn't change anything on my form. What happened and how can I fix it?
Here is how things are set up:
sfrmCharges
Category - RowSource "SELECT DISTINCT tblCharges.Category FROM tblCharges;"
- Even Procedure
Private Sub cmbCategory_AfterUpdate()
Me.cmbLegal.Requery
End Sub
Legal - RowSource "SELECT tblCharges.Legal FROM tblCharges WHERE
(((tblCharges.Category)=forms!sfrmCharges.cmbCategory)) GROUP BY
tblCharges.Legal ORDER BY tblCharges.Legal;"
This table needs to be placed on frmMaster.
Thank you for your time and your help.
I have a form that has multiple subforms on it. One of the subforms that I
have attempted to add will not work. I created the subform seperatly from the
form. When I did this everything worked great I have two feilds on this
subform. Charge category and legal charges. When the user chooses a category
the list for legal charges is limited to the charges that are under that
category. Things work beautifully. However, when I put this subform on my
main form, it no longer works.
It gives me a message box: "The LinkMasterFields property settin has
produced this error:'PRocedure declaration does not match description of
event or procedure having the same name.'"
I didn't change anything on my form. What happened and how can I fix it?
Here is how things are set up:
sfrmCharges
Category - RowSource "SELECT DISTINCT tblCharges.Category FROM tblCharges;"
- Even Procedure
Private Sub cmbCategory_AfterUpdate()
Me.cmbLegal.Requery
End Sub
Legal - RowSource "SELECT tblCharges.Legal FROM tblCharges WHERE
(((tblCharges.Category)=forms!sfrmCharges.cmbCategory)) GROUP BY
tblCharges.Legal ORDER BY tblCharges.Legal;"
This table needs to be placed on frmMaster.
Thank you for your time and your help.