D
DaveAP
I'm trying to use a combo box list to populate the subform information.
The form uses a name list from a table to determine which Representatives
the auditor wishes to audit. The subform shows a table of the percentage at
which the Representative gets audited.
For example:
Dave is selected in the combo box, the Percentage Audit table shows seven
columns at which he is audited:
Form 1: 25%
Form 2: 5%
Form 3: 100%
etc...
Then the auditor knows which auditing form they need to use according to the
results of the query.
I cannot seem to link the combo box to requery the subform each time a
different representative is selected. This is the code I've tried using:
Private Sub RepName_AfterUpdate()
Me.frmPercentage_Audit_subform2.SourceObject = "Percentage Audit." &
Me.Startup_QA.RepName
End Sub
RepName is the name of the combo box. Please help if possible.
The form uses a name list from a table to determine which Representatives
the auditor wishes to audit. The subform shows a table of the percentage at
which the Representative gets audited.
For example:
Dave is selected in the combo box, the Percentage Audit table shows seven
columns at which he is audited:
Form 1: 25%
Form 2: 5%
Form 3: 100%
etc...
Then the auditor knows which auditing form they need to use according to the
results of the query.
I cannot seem to link the combo box to requery the subform each time a
different representative is selected. This is the code I've tried using:
Private Sub RepName_AfterUpdate()
Me.frmPercentage_Audit_subform2.SourceObject = "Percentage Audit." &
Me.Startup_QA.RepName
End Sub
RepName is the name of the combo box. Please help if possible.