D
Duck
I have a database that I have place a copyright notice on in the form
of a splash page that is displayed first for six seconds in the
startup sequence. Although I took precautions to secure the database
I suspect that one of the users has or will copy the database to
another computer. I also have a bit of code that will delete all the
queries in the database after a certain date:
If (Now() > #8/30/2007#) Then
Dim MedDB As DAO.Database
Dim qdf As QueryDef
Set MedDB = CurrentDb
For Each qdf In MedDB.QueryDefs
DoCmd.DeleteObject acQuery, qdf.Name
Debug.Print qdf.Name & " Deleted"
Next qdf
Else
'Debug.Print "It is not time yet"
End If
I want to insure that the splash page copyright notice is displayed
first in the startup sequence. How can I set the above code to run if
the splash page is taken out of the startup sequence.
of a splash page that is displayed first for six seconds in the
startup sequence. Although I took precautions to secure the database
I suspect that one of the users has or will copy the database to
another computer. I also have a bit of code that will delete all the
queries in the database after a certain date:
If (Now() > #8/30/2007#) Then
Dim MedDB As DAO.Database
Dim qdf As QueryDef
Set MedDB = CurrentDb
For Each qdf In MedDB.QueryDefs
DoCmd.DeleteObject acQuery, qdf.Name
Debug.Print qdf.Name & " Deleted"
Next qdf
Else
'Debug.Print "It is not time yet"
End If
I want to insure that the splash page copyright notice is displayed
first in the startup sequence. How can I set the above code to run if
the splash page is taken out of the startup sequence.