Hey there again byters .My previous post was called click & hold(need info). I thought i had solved the problem but after testing i realise that its no doing what its supposed to. i wished to open a form after holding down the mouse on an image for 3 seconds. But the code just waits 3seconds to go to the form after clicking. if the user doent hold down the mouse for 3 seconds i dont want the form to open. Any suggestions gurus
[CODE=vb]
Private Sub Form_Timer()
DoCmd.OpenForm ("pcspecs2")
Me.TimerInterva l = 0
End Sub
Private Sub Image30_MouseDo wn(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterva l = 3000
End Sub[/CODE]
I tried using this code too but to know avail
[CODE=vb]Private Sub Form_Timer()
If (Me.TimerInterv al <= 3000) Then
DoCmd.OpenForm ("pcspecs2")
Me.TimerInterva l = 0
End If
End Sub
Private Sub Image11_MouseDo wn(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterva l = 0
End Sub[/CODE]
[CODE=vb]
Private Sub Form_Timer()
DoCmd.OpenForm ("pcspecs2")
Me.TimerInterva l = 0
End Sub
Private Sub Image30_MouseDo wn(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterva l = 3000
End Sub[/CODE]
I tried using this code too but to know avail
[CODE=vb]Private Sub Form_Timer()
If (Me.TimerInterv al <= 3000) Then
DoCmd.OpenForm ("pcspecs2")
Me.TimerInterva l = 0
End If
End Sub
Private Sub Image11_MouseDo wn(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterva l = 0
End Sub[/CODE]
Comment