C
chez
I have a Parent Form
Within this form is a sub form
Within the sub form is a combo command
When I open the sub form on it's own, the command works fine
When I attempt to open using the Parent Form, I have an error 'enter
parameter value' and it shows me my combo box code (which doesn't refer to
the Parent form I want to use it in) and that is because I don't remember how
to write that (it's been a long time since I've used Access)
An example of my code:
SELECT [maintain category].Cat2ID, [maintain category].Cat1ID FROM [maintain
category] GROUP BY [maintain category].Cat2ID, [maintain category].Cat1ID
HAVING ((([maintain
category].Cat1ID)=forms!frmClassAttendance_Subform.tbClasses_class));
Hope someone can help
Cheers
Cheryl
Within this form is a sub form
Within the sub form is a combo command
When I open the sub form on it's own, the command works fine
When I attempt to open using the Parent Form, I have an error 'enter
parameter value' and it shows me my combo box code (which doesn't refer to
the Parent form I want to use it in) and that is because I don't remember how
to write that (it's been a long time since I've used Access)
An example of my code:
SELECT [maintain category].Cat2ID, [maintain category].Cat1ID FROM [maintain
category] GROUP BY [maintain category].Cat2ID, [maintain category].Cat1ID
HAVING ((([maintain
category].Cat1ID)=forms!frmClassAttendance_Subform.tbClasses_class));
Hope someone can help
Cheers
Cheryl