GRose
Registered User.
- Local time
- Today, 04:15
- Joined
- Mar 4, 2004
- Messages
- 21
Good afternoon (well, it is here in the UK)
We have just changed from Access 97 to 2000 (only 6 years behind) and I use a database that has this piece of code running:
Private Sub DateOfAction_AfterUpdate()
DoCmd.Requery
Forms![CallLogMain]![CallLogDetails]![Child68].Requery
Forms![CallLogMain]![CallLogDetails]![Child71].Requery
Forms![CallLogMain]![CallLogDetails].SetFocus
Forms![CallLogMain]![CallLogDetails]![CallID].SetFocus
End Sub
After the record was input 2 subforms would refresh to recalculate a field storing the total time and then it would set focus to the main form to allow you move to the next record.
Now the database has changed to 2000, this no longer works which is a pain in the bum.
Any ideas why this has happened?
Regards.
We have just changed from Access 97 to 2000 (only 6 years behind) and I use a database that has this piece of code running:
Private Sub DateOfAction_AfterUpdate()
DoCmd.Requery
Forms![CallLogMain]![CallLogDetails]![Child68].Requery
Forms![CallLogMain]![CallLogDetails]![Child71].Requery
Forms![CallLogMain]![CallLogDetails].SetFocus
Forms![CallLogMain]![CallLogDetails]![CallID].SetFocus
End Sub
After the record was input 2 subforms would refresh to recalculate a field storing the total time and then it would set focus to the main form to allow you move to the next record.
Now the database has changed to 2000, this no longer works which is a pain in the bum.
Any ideas why this has happened?
Regards.