M
Mike Revis
Hi Group
Access 2000 Win XPpro
I am trying to get my form to close when the current record is deleted.
I have this code in the cmdDeleteRecord_Click
Dim stDocName As String
stDocName = "frmSubPackage"
DoCmd.RunCommand acCmdDeleteRecord
DoCmd.Close acForm, stDocName
The delete part works as expected but the form doesn't close.
As always any advice or suggestion is welcome.
Mike
Access 2000 Win XPpro
I am trying to get my form to close when the current record is deleted.
I have this code in the cmdDeleteRecord_Click
Dim stDocName As String
stDocName = "frmSubPackage"
DoCmd.RunCommand acCmdDeleteRecord
DoCmd.Close acForm, stDocName
The delete part works as expected but the form doesn't close.
As always any advice or suggestion is welcome.
Mike