- Joined
- Dec 10, 2008
- Messages
- 5
- Reaction score
- 0
This is making me crazy! I have a subform SubfrmResEntityPers on a main form frmResSupportEntities2.
I want to display a count of the number of records in the subform, on the subform. I created a textbox control and in the Control Source of this control (txContResConts) put the following code:
=SubfrmResEntityPers.form.RecordsetClone.RecordCount
I have tried everything from adding parenthesis and brackets to putting the entire path:
=Forms!frmResSupportEntities2!SubfrmResEntityPers.form.RecordsetClone.RecordCount
but no matter what I do, Access always returns the following error:
Syntax error (missing operator) in query expression '='
- and shows #Name in the form view of the control.
I can not for the life of me figure out why it is doing this. Help!
I want to display a count of the number of records in the subform, on the subform. I created a textbox control and in the Control Source of this control (txContResConts) put the following code:
=SubfrmResEntityPers.form.RecordsetClone.RecordCount
I have tried everything from adding parenthesis and brackets to putting the entire path:
=Forms!frmResSupportEntities2!SubfrmResEntityPers.form.RecordsetClone.RecordCount
but no matter what I do, Access always returns the following error:
Syntax error (missing operator) in query expression '='
- and shows #Name in the form view of the control.
I can not for the life of me figure out why it is doing this. Help!