C
Cyberwolf
Hi all,
I am getting an error 438 on the me![GroupID].Requery line of the following
code. Can anyone tell me why?
Private Sub Group_DblClick(Cancel As Integer)
Dim lngGroupID
' On Error GoTo Group_DblClick_Error
If IsNull(Me![GroupID]) Then
Me![GroupID] = ""
Else
lngGroupID = Me![GroupID]
Me![GroupID] = Null
End If
DoCmd.OpenForm "frm_Groups", , , , , acDialog, "GotoNew"
Me![GroupID].Requery
If lngGroupID <> 0 Then Me![GroupID] = lngGroupID
On Error GoTo 0
Exit Sub
Group_DblClick_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure
Group_DblClick of VBA Document Form_frm_EmailAddresses"
End Sub
I am getting an error 438 on the me![GroupID].Requery line of the following
code. Can anyone tell me why?
Private Sub Group_DblClick(Cancel As Integer)
Dim lngGroupID
' On Error GoTo Group_DblClick_Error
If IsNull(Me![GroupID]) Then
Me![GroupID] = ""
Else
lngGroupID = Me![GroupID]
Me![GroupID] = Null
End If
DoCmd.OpenForm "frm_Groups", , , , , acDialog, "GotoNew"
Me![GroupID].Requery
If lngGroupID <> 0 Then Me![GroupID] = lngGroupID
On Error GoTo 0
Exit Sub
Group_DblClick_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure
Group_DblClick of VBA Document Form_frm_EmailAddresses"
End Sub