Solution:
Note that the original code uses a command button to move the subforms.
If you want the OnCurrent event to refresh the forms, I found it necessary to modify the code as follows:
subformctl.Form.RecordsetClone.MoveLast
intRecs = subformctl.Form.RecordsetClone.RecordCount...
I found the issue:
The original code uses a command button to resize the subforms.
My code uses a OnCurrent record event to resize the subforms.
When I place a command button on my form, and place the same code behind it, and click it after moving to a new parent record, everything is fine...
thread702-1731627
This thread is in reference to an earlier posting which described a mehtod of subform sizing in MS Access 10.
I think I have identified a problem with the code suggested there but am not sure what to do about it.
A form frmPerson has 4 subforms: frmPersonAddressSub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.