mrrayj60
Registered User.
- Local time
- Today, 15:38
- Joined
- Sep 3, 2009
- Messages
- 103
The delete button in my form was installed using the command button wizard.
When I delete a record it deletes the record but leaves a blank record and then I have to go and delete the blank record too. Is there a way to delete a record and not leave a blank? Thanks in advance - Ray :banghead:
Event - On Click Code
Private Sub Command130_Click()
On Error GoTo Err_Command130_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Command130_Click:
Exit Sub
Err_Command130_Click:
MsgBox Err.description
Resume Exit_Command130_Click
End Sub
When I delete a record it deletes the record but leaves a blank record and then I have to go and delete the blank record too. Is there a way to delete a record and not leave a blank? Thanks in advance - Ray :banghead:
Event - On Click Code
Private Sub Command130_Click()
On Error GoTo Err_Command130_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Command130_Click:
Exit Sub
Err_Command130_Click:
MsgBox Err.description
Resume Exit_Command130_Click
End Sub