OK so I have been able to fix all of my problems with much help from the experts...thank you experts.
However, now something really weird is happening. As you know I have two forms (one appends/updates a table and the other is just for searching records).
Since I corrected the problem from my previous post of adding a new blank record when searching I now how one field in only the first record that is being set to zero when I close the search form. There is nothing oin the code sets any field to zero anywhere for either form. I have no idea why it is happening and it only happens, as I said, to one field in only the first record.
The code for the Close Form command button shows nothing that would cause this.
As always, any help ifguring this out would be greatly appreciated. I am in the process of resarching this problem on line but have not had much luck.
Thanks,
Doug
However, now something really weird is happening. As you know I have two forms (one appends/updates a table and the other is just for searching records).
Since I corrected the problem from my previous post of adding a new blank record when searching I now how one field in only the first record that is being set to zero when I close the search form. There is nothing oin the code sets any field to zero anywhere for either form. I have no idea why it is happening and it only happens, as I said, to one field in only the first record.
The code for the Close Form command button shows nothing that would cause this.
Code:
Private Sub cmdExit_Click()
On Error GoTo Err_cmdExit_Click
DoCmd.Close
Exit_cmdExit_Click:
Exit Sub
Err_cmdExit_Click:
MsgBox Err.Description
Resume Exit_cmdExit_Click
End Sub
Thanks,
Doug
Comment