how i make it that the access cannot be closed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a access application
i can minimze it

but
how i can fix it that the show symbol cannot be closed, means that the
application until in my programm requested part is done.
if i click close and not maximize or restore, the access will close
i dont like to have that

sorry my english
thanks george
 
In the on click event of your button to close your database put this code
Me.Tag = "OK"
In the Unload event of the form put this code
Private Sub Form_Unload(Cancel As Integer)
If Me.Tag <> "OK" Then
Cancel = True
End If
End Sub
 
Back
Top