H
hje
*sigh*
Have a beautifully working database, finally, thanks to a
lot of help from these boards. It is created in Access
2000 on my laptop.
Transferred the whole lot to the network for test
implementation, which has Access 2003 on it. Now I am
getting an error message 3270 Property Not Found. This
happens when a command button is selected (this command
button has been coded that on a click, does the following:
Private Sub Delete_Button_Click()
On Error GoTo Err_Handler
If MsgBox("Are you sure you want to delete this
record?", _ vbQuestion + vbYesNo, "Delete Record?") _ =
vbYes _
Then
DoCmd.SetWarnings False
RunCommand acCmdDeleteRecord
End If
Exit_Point:
DoCmd.SetWarnings True
Exit Sub
Err_Handler:
MsgBox Err.Description, vbExclamation, "Error " &
Err.Number
Resume Exit_Point
End Sub
I retested it on the laptop, and the command button works
fine.
Is there a problem with this code in 2003 that I am
unaware of? How do I correct this?
Thanks in advance for any help!!!
Have a beautifully working database, finally, thanks to a
lot of help from these boards. It is created in Access
2000 on my laptop.
Transferred the whole lot to the network for test
implementation, which has Access 2003 on it. Now I am
getting an error message 3270 Property Not Found. This
happens when a command button is selected (this command
button has been coded that on a click, does the following:
Private Sub Delete_Button_Click()
On Error GoTo Err_Handler
If MsgBox("Are you sure you want to delete this
record?", _ vbQuestion + vbYesNo, "Delete Record?") _ =
vbYes _
Then
DoCmd.SetWarnings False
RunCommand acCmdDeleteRecord
End If
Exit_Point:
DoCmd.SetWarnings True
Exit Sub
Err_Handler:
MsgBox Err.Description, vbExclamation, "Error " &
Err.Number
Resume Exit_Point
End Sub
I retested it on the laptop, and the command button works
fine.
Is there a problem with this code in 2003 that I am
unaware of? How do I correct this?
Thanks in advance for any help!!!