M
Mary Fran
I am baffled - why does my code work when I step through it but as soon as I
remove break and run it doesn't? Here is the code:
DoCmd.OpenForm "frmNewStudents", , , , , acHidden
DoCmd.OpenForm "frmNewStudentsPrevious", , , , , acHidden
Set dbNew = Forms!frmNewStudents.Recordset.Clone
Set dbPrevious = Forms!frmNewStudentsPrevious.Recordset.Clone
If dbPrevious.RecordCount <> dbNew.RecordCount Then
....
Even when the 2 values are equal it runs the code for them being <> when I
remove the break - please help!!!
remove break and run it doesn't? Here is the code:
DoCmd.OpenForm "frmNewStudents", , , , , acHidden
DoCmd.OpenForm "frmNewStudentsPrevious", , , , , acHidden
Set dbNew = Forms!frmNewStudents.Recordset.Clone
Set dbPrevious = Forms!frmNewStudentsPrevious.Recordset.Clone
If dbPrevious.RecordCount <> dbNew.RecordCount Then
....
Even when the 2 values are equal it runs the code for them being <> when I
remove the break - please help!!!