S
Siritl via AccessMonster.com
I have a macro that loops 3 forms in Access. I would like to write a code
preferabelly in VB that stops these macros when time reaches 18.00. I have
tried something like this, but it seems like Access ignores the code:
Private Sub Skjema1_BeforeUpdate(Cancel As Integer)
If Time <= "18:00" Then
Run macro
Else
Close Form
End If
End Sub
preferabelly in VB that stops these macros when time reaches 18.00. I have
tried something like this, but it seems like Access ignores the code:
Private Sub Skjema1_BeforeUpdate(Cancel As Integer)
If Time <= "18:00" Then
Run macro
Else
Close Form
End If
End Sub