Adrianna
Registered User.
- Local time
- Today, 09:04
- Joined
- Oct 16, 2000
- Messages
- 254
I have a simple form where the user enters the Department which selects a list of account on file. The user enters the justification for archiving the selected file then uses a control button.
The control button runs an SQL statement that appends the record to the ArchiveTbl and Deletes the record from the Mastertbl. A message box desplays upon completion letting the user know the verything has been completed and then.....
DoCmd.Close acForm, "ArchiveJusfityFrm"
..... well...that works...it does close the form, but for some reason....it closes all the way out of Access.
I'm using Access 2000. There is no other code on this form (other then a cancel option). Nothing follows the DoCmd.Close except End Sub.
Anyone have this happen to them?
How do I fix it?
The control button runs an SQL statement that appends the record to the ArchiveTbl and Deletes the record from the Mastertbl. A message box desplays upon completion letting the user know the verything has been completed and then.....
DoCmd.Close acForm, "ArchiveJusfityFrm"
..... well...that works...it does close the form, but for some reason....it closes all the way out of Access.
I'm using Access 2000. There is no other code on this form (other then a cancel option). Nothing follows the DoCmd.Close except End Sub.
Anyone have this happen to them?
How do I fix it?
