i'm having a problem with the requery and move to last command on some subforms.
The subforms are used to view the data enterd into the table. I have 3 forms that use subforms. On 2 of the subforms the requery is made and the data can be seen on the subform ,but the subform does not go to the las record enterd, the user having to search for it.The data seems to updated by user...but there is no ordery by statement.
On one form the requery + go to last record works fine. The code is practically the same...so why does it not work?
here is the general code:
Thank you
The subforms are used to view the data enterd into the table. I have 3 forms that use subforms. On 2 of the subforms the requery is made and the data can be seen on the subform ,but the subform does not go to the las record enterd, the user having to search for it.The data seems to updated by user...but there is no ordery by statement.
On one form the requery + go to last record works fine. The code is practically the same...so why does it not work?
here is the general code:
Code:
Private Sub Form_AfterInsert() Me![CustomerSupportActivityBranch subform].Requery Me.[CustomerSupportActivityBranch subform].Form.RecordsetClone.MoveLast Me.[CustomerSupportActivityBranch subform].Form.Bookmark = Me.[CustomerSupportActivityBranch subform].Form.RecordsetClone.Bookmark End Sub
Comment