S
Someone
Hello
I use the following to get the record count in subforms.
Forms!MainFormName.TextBoxName =
Forms!MainFormName!SubformName.Form.RecordsetClone.RecordCount
However, if I try and use this in a subform where the subform is in Single
Form view, rather than Datasheet view, the code only returns 1. When I
cycle through subsequent records, that figure 1 increments by as many
records that I cycle through.
How can I change the code so that it can count all the records where the
subform is in Single Form view?
Many thanks
M
I use the following to get the record count in subforms.
Forms!MainFormName.TextBoxName =
Forms!MainFormName!SubformName.Form.RecordsetClone.RecordCount
However, if I try and use this in a subform where the subform is in Single
Form view, rather than Datasheet view, the code only returns 1. When I
cycle through subsequent records, that figure 1 increments by as many
records that I cycle through.
How can I change the code so that it can count all the records where the
subform is in Single Form view?
Many thanks
M