I am getting this error message on this code:
Compile error
invalid or unqualified reference
It does not like the word: .Requery
Can anyone help
Thanks in advance
Private Sub Form_Timer()
'update the data so multiple users get latest data
Dim CurrRecord As Variant
CurrRecord = Me.CurrentRecord
'MsgBox (CurrRecord)
.Requery
DoCmd.GoToRecord acDataForm, "frmMAIN FORM", acGoTo, CurrRecord
End Sub
Compile error
invalid or unqualified reference
It does not like the word: .Requery
Can anyone help
Thanks in advance
Private Sub Form_Timer()
'update the data so multiple users get latest data
Dim CurrRecord As Variant
CurrRecord = Me.CurrentRecord
'MsgBox (CurrRecord)
.Requery
DoCmd.GoToRecord acDataForm, "frmMAIN FORM", acGoTo, CurrRecord
End Sub