E
E-mail report using Lotus Notes rather t
Hi,
I have a very usual bug. I have an mde database that is split in a server.
Each user have their own copy of the front end of the database. I don't have
any problems with it so far (crossing my finger) but the only problem that I
have is when the user exit the application. When the user exit the
application I have code to ask if the user really want to exit.
I have a form
on current:
Private Sub Form_Current()
Populate_Description
End Sub
before update:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.[PART_NUMBER]) = True Then
MsgBox "You must enter Part Number."
Me.[PART_NUMBER].SetFocus
Exit Sub
End If
If IsNull(Me.COUNTRY) = True Then
MsgBox "You must enter a Country."
Me.COUNTRY.SetFocus
Exit Sub
End If
If IsNull(Me.Status) = True Then
MsgBox "You must enter a Status."
Me.Status.SetFocus
Exit Sub
End If
End Sub
When the user exit/terminate the database it exits okay but there is a MS
Access empty screen that just can't exit. When you click on the exit [X]
control on the upper right hand of the screen it does not close the screen.
The only way to close the screen is to hold down the Ctrl + Alt + Del and end
the task there to close the empty screen. This is driving me crazy to figure
out why there is this stubbon screen that just won't close. The funny thing
is when I as the Admin open the database and the Input Form and then exit the
database, it completely exits. It only happen to other users except me. All
users are using Access 2003. Please help. Thank you in advance.
I have a very usual bug. I have an mde database that is split in a server.
Each user have their own copy of the front end of the database. I don't have
any problems with it so far (crossing my finger) but the only problem that I
have is when the user exit the application. When the user exit the
application I have code to ask if the user really want to exit.
I have a form
on current:
Private Sub Form_Current()
Populate_Description
End Sub
before update:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.[PART_NUMBER]) = True Then
MsgBox "You must enter Part Number."
Me.[PART_NUMBER].SetFocus
Exit Sub
End If
If IsNull(Me.COUNTRY) = True Then
MsgBox "You must enter a Country."
Me.COUNTRY.SetFocus
Exit Sub
End If
If IsNull(Me.Status) = True Then
MsgBox "You must enter a Status."
Me.Status.SetFocus
Exit Sub
End If
End Sub
When the user exit/terminate the database it exits okay but there is a MS
Access empty screen that just can't exit. When you click on the exit [X]
control on the upper right hand of the screen it does not close the screen.
The only way to close the screen is to hold down the Ctrl + Alt + Del and end
the task there to close the empty screen. This is driving me crazy to figure
out why there is this stubbon screen that just won't close. The funny thing
is when I as the Admin open the database and the Input Form and then exit the
database, it completely exits. It only happen to other users except me. All
users are using Access 2003. Please help. Thank you in advance.