Emilio5639
Instructor
I just started using Access, and I was trying to create a splash screen. I can get it to work in accdb but when I go to accda it hangs on the splash screen. Here is my codeing, if I can get some help, i would appreciate it.
Emilio
Sub Form_Open(Cancel As Integer)
Me.TimerInterval = 3500
End Sub
Sub Form_Timer()
If Me.TimerInterval <> 0 Then
Me.TimerInterval = 0
End If
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Switchboard"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "Startup"
End Sub
Sub Command9_Click()
On Error GoTo Err_Command9_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "KeyBypass Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "Startup", acSaveNo
Exit_Command9_Click:
Exit Sub
Err_Command9_Click:
MsgBox Err.Description
Resume Exit_Command9_Click
End Sub
Emilio
Sub Form_Open(Cancel As Integer)
Me.TimerInterval = 3500
End Sub
Sub Form_Timer()
If Me.TimerInterval <> 0 Then
Me.TimerInterval = 0
End If
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Switchboard"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "Startup"
End Sub
Sub Command9_Click()
On Error GoTo Err_Command9_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "KeyBypass Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "Startup", acSaveNo
Exit_Command9_Click:
Exit Sub
Err_Command9_Click:
MsgBox Err.Description
Resume Exit_Command9_Click
End Sub