G
gr
Hi, One user is getting the following message when
clicking on a command button of a form. the message
appears randomly but often and the application is
finished.
<< The instruction at "0x650a40ed" reference memory
at "0x00666699". The memory could not be "read".>>
The command button code looks like this:
Private Sub cmdGoDateName_Click()
On Error GoTo ErrInSub
If (IsNull(Me!txtName)) Then
MsgBox "Please choose a Name from the list!",
vbCritical, "Warning"
Exit Sub
End If
Dim strName As String
strName = Me!txtName
DoCmd.OpenForm "frmChooseArea", acNormal
Forms!frmChooseArea!txtboxName = strName
Forms!frmChooseArea!txtboxName.Locked = True
DoCmd.Close acForm, "frmDateName"
SalirSub:
Exit Sub
ErrInSub:
MsgBox "Error " & Err.Number & ": " &
Err.Description
Resume SalirSub
End Sub
Any thoughts?
clicking on a command button of a form. the message
appears randomly but often and the application is
finished.
<< The instruction at "0x650a40ed" reference memory
at "0x00666699". The memory could not be "read".>>
The command button code looks like this:
Private Sub cmdGoDateName_Click()
On Error GoTo ErrInSub
If (IsNull(Me!txtName)) Then
MsgBox "Please choose a Name from the list!",
vbCritical, "Warning"
Exit Sub
End If
Dim strName As String
strName = Me!txtName
DoCmd.OpenForm "frmChooseArea", acNormal
Forms!frmChooseArea!txtboxName = strName
Forms!frmChooseArea!txtboxName.Locked = True
DoCmd.Close acForm, "frmDateName"
SalirSub:
Exit Sub
ErrInSub:
MsgBox "Error " & Err.Number & ": " &
Err.Description
Resume SalirSub
End Sub
Any thoughts?